代码拉取完成,页面将自动刷新
{
"private": true,
"type": "module",
"workspaces": [
"packages/**"
],
"scripts": {
"preinstall": "npx -y only-allow pnpm",
"clean:jq": "rimraf --glob packages/jq/{functions,methods,shared,static} packages/jq/*.{js,d.ts}",
"clean:shared": "rimraf --glob packages/shared/{controllers,decorators,helpers,icons,lit-styles,mixins} packages/shared/src/icons/*.ts packages/shared/src/icons/shared/style.ts packages/shared/mixin.less",
"clean:mdui": "rimraf --glob packages/mdui/{components,functions} packages/mdui/src/components/**/*style.ts packages/mdui/*.{js,d.ts} packages/mdui/mdui.css",
"clean:icons": "rimraf --glob packages/icons/src/*.ts packages/icons/*.{js,d.ts}",
"clean": "run-p clean:*",
"lint:jq": "eslint --fix packages/jq/src/**/*.ts",
"lint:shared": "stylelint --fix packages/shared/src/**/*.less && eslint --fix packages/shared/src/**/*.ts",
"lint:mdui": "stylelint --fix packages/mdui/src/**/*.less && eslint --fix packages/mdui/src/**/*.ts",
"lint": "run-p lint:*",
"build:jq": "tsc -p packages/jq/tsconfig.json",
"build:shared": "node scripts/shared/make-icons.js && node scripts/shared/build-less.js && node scripts/shared/build-lit-style.js && tsc -p packages/shared/tsconfig.json && node scripts/shared/build-js.js ",
"build:mdui": "node scripts/mdui/build-less.js && node scripts/mdui/build-lit-style.js && tsc -p packages/mdui/tsconfig.json && node scripts/mdui/build-lit-js.js && npm-run-all -s analyze:mdui -p vscode:mdui webtypes:mdui",
"build:icons": "tsc -p packages/icons/tsconfig.json && node scripts/icons/build-lit-js.js",
"build": "npm-run-all -s clean lint build:jq build:shared -p build:mdui build:icons",
"build-dev": "npm-run-all -s clean lint build:jq build:shared -p \"build:mdui --dev\" build:icons",
"bundle": "npm run build && rollup -c scripts/mdui/rollup.config.js",
"test:jq": "eslint --fix packages/jq/__test__/**/*.ts && tsc -p packages/jq/__test__/tsconfig.json && web-test-runner --config scripts/jq/web-test-runner.config.mjs",
"test:mdui": "eslint --fix packages/mdui/src/**/*.test.ts && tsc -p packages/mdui/tsconfig.json && web-test-runner --config scripts/mdui/web-test-runner.config.mjs",
"test": "run-s test:*",
"watch:jq": "tsc --watch --preserveWatchOutput -p packages/jq/tsconfig.json",
"watch:shared": "tsc --watch --preserveWatchOutput -p packages/shared/tsconfig.json",
"watch:mdui": "tsc --watch --preserveWatchOutput -p packages/mdui/tsconfig.json",
"dev:shared": "node scripts/shared/dev.js --dev",
"dev:mdui": "node scripts/mdui/dev.js --dev",
"dev-only": "concurrently -k -r \"npm:watch:*\" \"npm:dev:*\" \"vite --config scripts/vite.config.js --host\"",
"dev": "run-s build-dev dev-only",
"analyze:mdui": "cem analyze --config \"scripts/mdui/custom-elements-manifest.js\"",
"vscode:mdui": "node scripts/mdui/build-vscode-data.js",
"webtypes:mdui": "node scripts/mdui/build-web-types.js",
"publish": "npm run bundle && pnpm publish --recursive --access public"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "0.8.2",
"@material-design-icons/svg": "^0.14.2",
"@open-wc/testing": "^3.1.4",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@types/jquery": "^3.5.14",
"@types/mocha": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"@vscode/vsce": "^2.21.0",
"@web/dev-server-rollup": "^0.4.1",
"@web/test-runner": "^0.15.0",
"@web/test-runner-playwright": "^0.9.0",
"autoprefixer": "^10.4.8",
"clean-css": "^5.2.4",
"concurrently": "^8.0.1",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-lit": "^1.6.1",
"eslint-plugin-prettier": "^4.0.0",
"jquery": "^3.6.0",
"less": "^4.1.2",
"less-plugin-npm-import": "^2.1.0",
"lint-staged": "^13.0.3",
"minify-html-literals": "^1.3.5",
"node-watch": "^0.7.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.16",
"postcss-less": "^6.0.0",
"pretender": "^3.4.7",
"prettier": "^2.5.1",
"rimraf": "^5.0.0",
"rollup": "^3.9.1",
"rollup-plugin-visualizer": "^5.6.0",
"stylelint": "^15.1.0",
"stylelint-config-standard": "^33.0.0",
"typescript": "^5.0.4",
"vite": "^4.0.4",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.less": [
"stylelint --fix"
],
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"engines": {
"node": ">=14.19.0",
"pnpm": ">=7"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。