vue3-yuanma/package.json

102 lines
4.0 KiB
JSON
Raw Normal View History

2018-09-19 23:35:38 +08:00
{
"private": true,
2022-05-21 01:16:26 +08:00
"version": "3.2.35",
"packageManager": "pnpm@7.1.0",
2018-09-19 23:35:38 +08:00
"scripts": {
"dev": "node scripts/dev.js",
"build": "node scripts/build.js",
2021-09-24 02:46:16 +08:00
"size": "run-s size-global size-baseline",
"size-global": "node scripts/build.js vue runtime-dom -f global -p",
"size-baseline": "node scripts/build.js runtime-dom runtime-core reactivity shared -f esm-bundler && cd packages/size-check && vite build && node brotli",
2022-05-13 16:24:21 +08:00
"lint": "eslint --ext .ts packages/*/{src,__tests__}/**.ts",
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
2022-05-12 08:33:08 +08:00
"test": "run-s \"test-unit {@}\" \"test-e2e {@}\"",
2021-11-15 12:14:57 +08:00
"test-unit": "jest --filter ./scripts/filter-unit.js",
"test-e2e": "node scripts/build.js vue -f global -d && jest --filter ./scripts/filter-e2e.js --runInBand",
2021-10-09 02:23:30 +08:00
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
2021-12-12 10:33:19 +08:00
"test-coverage": "node scripts/build.js vue -f global -d && jest --runInBand --coverage --bail",
2020-01-03 07:07:42 +08:00
"release": "node scripts/release.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2022-05-19 08:18:06 +08:00
"dev-esm": "node scripts/dev.js -if esm-bundler-runtime",
2021-09-24 02:46:16 +08:00
"dev-compiler": "run-p \"dev template-explorer\" serve",
2022-05-12 08:33:08 +08:00
"dev-sfc": "run-p \"dev compiler-sfc -f esm-browser\" \"dev vue -if esm-bundler-runtime \" serve-sfc-playground",
2021-09-20 02:59:49 +08:00
"serve-sfc-playground": "vite packages/sfc-playground --host",
"serve": "serve",
"open": "open http://localhost:5000/packages/template-explorer/local.html",
2021-10-09 02:23:30 +08:00
"preinstall": "node ./scripts/preinstall.js",
2021-12-12 11:59:17 +08:00
"prebuild-sfc-playground": "node scripts/build.js compiler reactivity-transform shared -af cjs && node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler-runtime && node scripts/build.js vue -f esm-browser-runtime && node scripts/build.js compiler-sfc -f esm-browser",
2021-12-12 10:45:25 +08:00
"build-sfc-playground": "cd packages/sfc-playground && npm run build"
},
"types": "test-dts/index.d.ts",
"tsd": {
"directory": "test-dts"
2018-09-19 23:35:38 +08:00
},
2018-09-19 23:37:18 +08:00
"gitHooks": {
"pre-commit": "lint-staged",
2018-09-19 23:37:18 +08:00
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"*.js": [
2020-06-17 00:09:20 +08:00
"prettier --write"
2018-09-19 23:37:18 +08:00
],
"*.ts?(x)": [
"eslint",
2020-06-17 00:09:20 +08:00
"prettier --parser=typescript --write"
2018-09-19 23:37:18 +08:00
]
},
"engines": {
"node": ">=16.5.0"
},
2018-09-19 23:35:38 +08:00
"devDependencies": {
"@babel/types": "^7.12.0",
2022-01-14 16:21:50 +08:00
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
"@microsoft/api-extractor": "^7.15.1",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.3.4",
2020-11-18 04:58:46 +08:00
"@types/hash-sum": "^1.0.0",
"@types/jest": "^27.0.1",
2021-07-30 00:52:23 +08:00
"@types/node": "^16.4.7",
"@types/puppeteer": "^5.0.0",
2022-05-10 10:47:45 +08:00
"@typescript-eslint/parser": "^5.23.0",
2021-11-02 13:56:17 +08:00
"@vue/reactivity": "workspace:*",
"@vue/runtime-core": "workspace:*",
"@vue/runtime-dom": "workspace:*",
"brotli": "^1.3.2",
2020-06-17 00:09:20 +08:00
"chalk": "^4.1.0",
2020-01-03 07:07:42 +08:00
"conventional-changelog-cli": "^2.0.31",
2020-09-16 01:04:28 +08:00
"csstype": "^3.0.3",
2019-12-11 07:24:59 +08:00
"enquirer": "^2.3.2",
2022-04-12 14:29:49 +08:00
"esbuild": "^0.14.35",
2020-08-21 05:48:28 +08:00
"eslint": "^7.7.0",
2022-05-13 16:24:21 +08:00
"eslint-plugin-jest": "26.1.5",
2020-06-17 00:09:20 +08:00
"execa": "^4.0.2",
"fs-extra": "^9.0.1",
"jest": "^27.1.0",
2020-06-17 00:09:20 +08:00
"lint-staged": "^10.2.10",
2021-11-02 13:56:17 +08:00
"lodash": "^4.17.15",
2022-01-18 07:57:00 +08:00
"marked": "^4.0.10",
2018-09-19 23:35:38 +08:00
"minimist": "^1.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1",
"puppeteer": "^10.0.0",
"rollup": "~2.38.5",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
2021-03-28 13:35:45 +08:00
"rollup-plugin-polyfill-node": "^0.6.2",
2020-09-16 01:04:28 +08:00
"rollup-plugin-terser": "^7.0.2",
2020-08-21 05:48:28 +08:00
"rollup-plugin-typescript2": "^0.27.2",
2020-06-17 00:09:20 +08:00
"semver": "^7.3.2",
2021-07-09 03:21:33 +08:00
"serve": "^12.0.0",
2021-11-02 13:56:17 +08:00
"todomvc-app-css": "^2.3.0",
"ts-jest": "^27.0.5",
2022-05-10 10:47:45 +08:00
"tslib": "^2.4.0",
"typescript": "^4.6.4",
2022-05-10 17:15:12 +08:00
"vite": "^2.9.8",
2022-01-14 16:21:50 +08:00
"vue": "workspace:*",
2021-11-02 13:56:17 +08:00
"yorkie": "^2.0.0"
2018-09-19 23:35:38 +08:00
}
}