136 lines
4.9 KiB
JSON
136 lines
4.9 KiB
JSON
{
|
|
"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",
|
|
"build": "tsc && vite build --mode staging",
|
|
"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",
|
|
"build:for:static": "tsc && vite build",
|
|
"build:for:cms": "tsc && npm run build:libs && vite build -c vite.cms.config.ts",
|
|
"build:for:cms:watch": "tsc && npm run build:libs && vite build -c vite.cms.config.ts --watch",
|
|
"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",
|
|
"lint:errors": "npm run lint -- --quiet",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"format": "prettier 'src/**/*.ts'",
|
|
"format:fix": "npm run format -- --write",
|
|
"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",
|
|
"generate:jsonschema": "typescript-json-schema --required --include \"./libs/extension-registry/*.ts\" --out dist/libs/umbraco-package-schema.json tsconfig.json UmbracoPackage",
|
|
"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",
|
|
"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",
|
|
"new-extension": "plop --plopfile ./devops/plop/plop.js",
|
|
"compile": "tsc",
|
|
"check": "npm run lint && npm run compile && npm run build-storybook"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.14 <19",
|
|
"npm": ">=9.5 < 10"
|
|
},
|
|
"dependencies": {
|
|
"@openid/appauth": "^1.3.1",
|
|
"@umbraco-ui/uui": "1.3.0-rc.0",
|
|
"@umbraco-ui/uui-css": "1.3.0-rc.0",
|
|
"element-internals-polyfill": "^1.1.19",
|
|
"lit": "^2.7.0",
|
|
"lodash-es": "4.17.21",
|
|
"monaco-editor": "^0.36.1",
|
|
"router-slot": "file:router-slot-2.1.0.tgz",
|
|
"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",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
"@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",
|
|
"@types/chai": "^4.3.4",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/uuid": "^9.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
"@typescript-eslint/parser": "^5.57.0",
|
|
"@web/dev-server-esbuild": "^0.3.3",
|
|
"@web/dev-server-import-maps": "^0.0.7",
|
|
"@web/dev-server-rollup": "^0.3.21",
|
|
"@web/test-runner": "^0.16.1",
|
|
"@web/test-runner-playwright": "^0.10.0",
|
|
"babel-loader": "^9.1.2",
|
|
"eslint": "^8.32.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"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",
|
|
"eslint-plugin-storybook": "^0.6.12",
|
|
"eslint-plugin-wc": "^1.4.0",
|
|
"msw": "^1.1.0",
|
|
"msw-storybook-addon": "^1.8.0",
|
|
"openapi-typescript-codegen": "^0.24.0",
|
|
"playwright-msw": "^2.1.0",
|
|
"plop": "^3.1.1",
|
|
"prettier": "2.8.4",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"remark-gfm": "^3.0.1",
|
|
"rollup": "^3.21.2",
|
|
"rollup-plugin-dts": "^5.2.0",
|
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
"rollup-plugin-url": "^3.0.1",
|
|
"storybook": "^7.0.11",
|
|
"tiny-glob": "^0.2.9",
|
|
"typescript": "^5.0.3",
|
|
"typescript-json-schema": "^0.55.0",
|
|
"vite": "^4.3.3",
|
|
"vite-plugin-static-copy": "^0.14.0",
|
|
"vite-tsconfig-paths": "^4.2.0",
|
|
"web-component-analyzer": "^2.0.0-next.4"
|
|
},
|
|
"msw": {
|
|
"workerDirectory": "public"
|
|
}
|
|
}
|