2022-05-17 09:22:18 +02:00
|
|
|
{
|
2023-02-24 14:13:23 +01:00
|
|
|
"name": "umbraco-cms-backoffice",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"private": true,
|
|
|
|
|
"version": "0.0.0",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"main": "dist/main.js",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": "./dist/main.js"
|
|
|
|
|
},
|
|
|
|
|
"types": "types/src/app.d.ts",
|
|
|
|
|
"files": [
|
|
|
|
|
"dist",
|
|
|
|
|
"types"
|
|
|
|
|
],
|
|
|
|
|
"repository": {
|
|
|
|
|
"url": "https://github.com/umbraco/Umbraco.CMS.Backoffice",
|
|
|
|
|
"type": "git"
|
|
|
|
|
},
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/umbraco/Umbraco.CMS.Backoffice/issues"
|
|
|
|
|
},
|
|
|
|
|
"author": {
|
|
|
|
|
"name": "Umbraco A/S",
|
|
|
|
|
"email": "backoffice@umbraco.com",
|
|
|
|
|
"url": "https://umbraco.com"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "vite",
|
2023-05-25 09:36:21 +02:00
|
|
|
"build": "tsc --project ./src/tsconfig.json && rollup -c ./src/rollup.config.js",
|
|
|
|
|
"build:vite": "tsc && vite build --mode staging",
|
2023-04-20 15:02:00 +02:00
|
|
|
"build:libs": "npm run wc-analyze && npm run wc-analyze:vscode && npm run generate:jsonschema && rollup -c rollup-libs.config.js && node utils/move-libs.js",
|
2023-02-24 14:13:23 +01:00
|
|
|
"build:for:static": "tsc && vite build",
|
2023-05-25 09:36:21 +02:00
|
|
|
"build:for:cms": "npm run build && node ./devops/build/copy-to-cms.js",
|
2023-02-24 14:13:23 +01:00
|
|
|
"preview": "vite preview --open",
|
|
|
|
|
"test": "web-test-runner --coverage",
|
|
|
|
|
"test:watch": "web-test-runner --watch",
|
|
|
|
|
"auth:test:e2e": "npx playwright test --config apps/auth/",
|
|
|
|
|
"backoffice:test:e2e": "npx playwright test",
|
|
|
|
|
"test:e2e": "npm run auth:test:e2e && npm run backoffice:test:e2e",
|
|
|
|
|
"lint": "eslint src apps libs e2e",
|
2023-03-09 21:24:39 +01:00
|
|
|
"lint:errors": "npm run lint -- --quiet",
|
2023-02-24 14:13:23 +01:00
|
|
|
"lint:fix": "npm run lint -- --fix",
|
|
|
|
|
"format": "prettier 'src/**/*.ts'",
|
|
|
|
|
"format:fix": "npm run format -- --write",
|
2023-04-24 12:27:25 +02:00
|
|
|
"generate:api": "openapi --input https://raw.githubusercontent.com/umbraco/Umbraco-CMS/v13/dev/src/Umbraco.Cms.Api.Management/OpenApi.json --output libs/backend-api/src --postfixServices Resource --useOptions",
|
|
|
|
|
"generate:api-dev": "openapi --input http://localhost:11000/umbraco/swagger/v1/swagger.json --output libs/backend-api/src --postfixServices Resource --useOptions",
|
2023-05-16 13:46:29 +02:00
|
|
|
"generate:jsonschema": "typescript-json-schema --required --include \"./libs/extension-registry/*.ts\" --out dist/libs/umbraco-package-schema.json tsconfig.json UmbracoPackage",
|
2023-02-24 14:13:23 +01:00
|
|
|
"storybook": "npm run wc-analyze && storybook dev -p 6006",
|
|
|
|
|
"storybook:build": "npm run wc-analyze && storybook build",
|
|
|
|
|
"build-storybook": "npm run wc-analyze && storybook build",
|
|
|
|
|
"generate:icons": "node ./devops/icons/index.js",
|
2023-04-20 14:24:22 +02:00
|
|
|
"wc-analyze": "wca **/*.element.ts --outFile dist/libs/custom-elements.json",
|
|
|
|
|
"wc-analyze:vscode": "wca **/*.element.ts --format vscode --outFile dist/libs/vscode-html-custom-data.json",
|
2023-02-24 14:13:23 +01:00
|
|
|
"new-extension": "plop --plopfile ./devops/plop/plop.js",
|
|
|
|
|
"compile": "tsc",
|
2023-05-25 09:36:21 +02:00
|
|
|
"check": "npm run lint && npm run compile && npm run build-storybook"
|
2023-02-24 14:13:23 +01:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2023-02-24 15:13:29 +01:00
|
|
|
"node": ">=18.14 <19",
|
|
|
|
|
"npm": ">=9.5 < 10"
|
2023-02-24 14:13:23 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2023-04-24 12:27:25 +02:00
|
|
|
"@openid/appauth": "^1.3.1",
|
2023-05-25 10:36:47 +02:00
|
|
|
"@umbraco-ui/uui": "1.3.0-rc.1",
|
2023-05-15 14:29:57 +02:00
|
|
|
"@umbraco-ui/uui-css": "1.3.0-rc.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"element-internals-polyfill": "^1.1.19",
|
2023-04-01 18:59:35 +00:00
|
|
|
"lit": "^2.7.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"lodash-es": "4.17.21",
|
2023-03-22 10:56:28 +01:00
|
|
|
"monaco-editor": "^0.36.1",
|
2023-05-17 10:17:04 +02:00
|
|
|
"router-slot": "file:router-slot-2.1.0.tgz",
|
2023-02-24 14:13:23 +01:00
|
|
|
"rxjs": "^7.8.0",
|
|
|
|
|
"uuid": "^9.0.0"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@babel/core": "^7.20.12",
|
|
|
|
|
"@mdx-js/react": "^2.2.1",
|
|
|
|
|
"@open-wc/testing": "^3.1.7",
|
|
|
|
|
"@playwright/test": "^1.30.0",
|
2023-05-19 14:31:36 +02:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
2023-03-02 20:29:20 +01:00
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
2023-03-27 16:10:19 +02:00
|
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
2023-05-15 15:47:30 +02:00
|
|
|
"@storybook/addon-a11y": "^7.0.11",
|
|
|
|
|
"@storybook/addon-actions": "^7.0.11",
|
|
|
|
|
"@storybook/addon-essentials": "^7.0.11",
|
|
|
|
|
"@storybook/addon-links": "^7.0.11",
|
|
|
|
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
|
|
|
"@storybook/web-components": "^7.0.11",
|
|
|
|
|
"@storybook/web-components-vite": "^7.0.11",
|
2023-02-24 14:13:23 +01:00
|
|
|
"@types/chai": "^4.3.4",
|
|
|
|
|
"@types/lodash-es": "^4.17.6",
|
|
|
|
|
"@types/mocha": "^10.0.0",
|
|
|
|
|
"@types/uuid": "^9.0.0",
|
2023-05-02 20:13:11 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
2023-04-01 19:01:34 +00:00
|
|
|
"@typescript-eslint/parser": "^5.57.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"@web/dev-server-esbuild": "^0.3.3",
|
|
|
|
|
"@web/dev-server-import-maps": "^0.0.7",
|
|
|
|
|
"@web/dev-server-rollup": "^0.3.21",
|
2023-05-02 18:28:21 +00:00
|
|
|
"@web/test-runner": "^0.16.1",
|
2023-05-02 20:14:00 +02:00
|
|
|
"@web/test-runner-playwright": "^0.10.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"babel-loader": "^9.1.2",
|
|
|
|
|
"eslint": "^8.32.0",
|
2023-04-01 19:00:43 +00:00
|
|
|
"eslint-config-prettier": "^8.8.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"eslint-import-resolver-typescript": "^3.5.3",
|
|
|
|
|
"eslint-plugin-import": "^2.27.4",
|
|
|
|
|
"eslint-plugin-lit": "^1.8.2",
|
|
|
|
|
"eslint-plugin-lit-a11y": "^2.3.0",
|
|
|
|
|
"eslint-plugin-local-rules": "^1.3.2",
|
2023-05-15 15:47:30 +02:00
|
|
|
"eslint-plugin-storybook": "^0.6.12",
|
2023-02-24 14:13:23 +01:00
|
|
|
"eslint-plugin-wc": "^1.4.0",
|
2023-03-02 08:16:55 +00:00
|
|
|
"msw": "^1.1.0",
|
2023-04-03 15:33:13 +01:00
|
|
|
"msw-storybook-addon": "^1.8.0",
|
2023-04-24 12:27:25 +02:00
|
|
|
"openapi-typescript-codegen": "^0.24.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"playwright-msw": "^2.1.0",
|
|
|
|
|
"plop": "^3.1.1",
|
2023-03-01 18:59:07 +00:00
|
|
|
"prettier": "2.8.4",
|
2023-02-24 14:13:23 +01:00
|
|
|
"react": "^18.2.0",
|
|
|
|
|
"react-dom": "^18.2.0",
|
2023-05-15 15:47:30 +02:00
|
|
|
"remark-gfm": "^3.0.1",
|
2023-05-02 20:11:55 +02:00
|
|
|
"rollup": "^3.21.2",
|
2023-03-07 15:31:15 +01:00
|
|
|
"rollup-plugin-dts": "^5.2.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
|
|
|
"rollup-plugin-url": "^3.0.1",
|
2023-05-15 15:47:30 +02:00
|
|
|
"storybook": "^7.0.11",
|
2023-02-24 14:13:23 +01:00
|
|
|
"tiny-glob": "^0.2.9",
|
2023-04-03 07:14:40 +00:00
|
|
|
"typescript": "^5.0.3",
|
2023-03-06 15:50:41 +01:00
|
|
|
"typescript-json-schema": "^0.55.0",
|
2023-05-02 18:21:44 +00:00
|
|
|
"vite": "^4.3.3",
|
2023-04-21 14:13:41 +02:00
|
|
|
"vite-plugin-static-copy": "^0.14.0",
|
|
|
|
|
"vite-tsconfig-paths": "^4.2.0",
|
2023-02-24 14:13:23 +01:00
|
|
|
"web-component-analyzer": "^2.0.0-next.4"
|
|
|
|
|
},
|
|
|
|
|
"msw": {
|
|
|
|
|
"workerDirectory": "public"
|
|
|
|
|
}
|
2022-05-19 16:38:42 +02:00
|
|
|
}
|