2018-09-19 23:35:38 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
2021-11-26 14:33:46 +08:00
|
|
|
"version": "3.2.23",
|
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",
|
2021-09-24 02:56:02 +08:00
|
|
|
"size-baseline": "node scripts/build.js runtime-dom runtime-core reactivity shared -f esm-bundler && cd packages/size-check && vite build",
|
2021-07-02 20:19:05 +08:00
|
|
|
"lint": "eslint --ext .ts packages/*/src/**.ts",
|
2020-06-11 04:54:23 +08:00
|
|
|
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
2021-11-26 12:24:55 +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",
|
2020-06-13 06:03:51 +08:00
|
|
|
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
|
2020-01-03 07:07:42 +08:00
|
|
|
"release": "node scripts/release.js",
|
2020-02-06 23:22:16 +08:00
|
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
2021-09-24 02:46:16 +08:00
|
|
|
"dev-compiler": "run-p \"dev template-explorer\" serve",
|
2021-10-09 02:23:30 +08:00
|
|
|
"dev-sfc": "run-p \"dev compiler-sfc -- -f esm-browser\" \"dev runtime-core -- -f esm-bundler\" \"dev runtime-dom -- -f esm-bundler\" serve-sfc-playground",
|
2021-09-20 02:59:49 +08:00
|
|
|
"serve-sfc-playground": "vite packages/sfc-playground --host",
|
2020-02-06 23:22:16 +08:00
|
|
|
"serve": "serve",
|
2020-06-10 05:36:45 +08:00
|
|
|
"open": "open http://localhost:5000/packages/template-explorer/local.html",
|
2021-10-09 02:23:30 +08:00
|
|
|
"preinstall": "node ./scripts/preinstall.js",
|
2021-08-24 01:55:06 +08:00
|
|
|
"prebuild-sfc-playground": "node scripts/build.js compiler ref-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-03-28 14:08:27 +08:00
|
|
|
"build-sfc-playground": "cd packages/sfc-playground && vite build"
|
2019-11-02 10:54:01 +08:00
|
|
|
},
|
|
|
|
"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": {
|
2020-12-31 01:14:10 +08:00
|
|
|
"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
|
|
|
],
|
2019-10-15 03:07:43 +08:00
|
|
|
"*.ts?(x)": [
|
2020-06-11 04:54:23 +08:00
|
|
|
"eslint",
|
2020-06-17 00:09:20 +08:00
|
|
|
"prettier --parser=typescript --write"
|
2018-09-19 23:37:18 +08:00
|
|
|
]
|
|
|
|
},
|
2020-03-25 21:44:19 +08:00
|
|
|
"engines": {
|
2021-09-02 04:39:09 +08:00
|
|
|
"node": ">=16.5.0"
|
2020-03-25 21:44:19 +08:00
|
|
|
},
|
2018-09-19 23:35:38 +08:00
|
|
|
"devDependencies": {
|
2020-10-16 00:02:20 +08:00
|
|
|
"@babel/types": "^7.12.0",
|
2021-05-13 05:54:08 +08:00
|
|
|
"@microsoft/api-extractor": "^7.15.1",
|
2021-03-28 00:33:52 +08:00
|
|
|
"@rollup/plugin-commonjs": "^18.0.0",
|
2019-11-19 22:02:46 +08:00
|
|
|
"@rollup/plugin-json": "^4.0.0",
|
2021-03-28 00:33:52 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
2020-12-03 06:13:39 +08:00
|
|
|
"@rollup/plugin-replace": "^2.3.4",
|
2020-11-18 04:58:46 +08:00
|
|
|
"@types/hash-sum": "^1.0.0",
|
2021-09-02 04:39:46 +08:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-07-30 00:52:23 +08:00
|
|
|
"@types/node": "^16.4.7",
|
2021-07-02 01:56:38 +08:00
|
|
|
"@types/puppeteer": "^5.0.0",
|
2020-09-16 01:04:28 +08:00
|
|
|
"@typescript-eslint/parser": "^4.1.1",
|
2021-11-02 13:56:17 +08:00
|
|
|
"@vue/reactivity": "workspace:*",
|
|
|
|
"@vue/runtime-core": "workspace:*",
|
|
|
|
"@vue/runtime-dom": "workspace:*",
|
2019-10-02 04:55:04 +08:00
|
|
|
"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",
|
2020-08-21 05:48:28 +08:00
|
|
|
"eslint": "^7.7.0",
|
2020-06-17 00:09:20 +08:00
|
|
|
"execa": "^4.0.2",
|
|
|
|
"fs-extra": "^9.0.1",
|
2021-09-02 04:39:46 +08:00
|
|
|
"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",
|
|
|
|
"marked": "^0.7.0",
|
2018-09-19 23:35:38 +08:00
|
|
|
"minimist": "^1.2.0",
|
2020-02-06 23:22:16 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-07-20 06:22:19 +08:00
|
|
|
"prettier": "^2.3.1",
|
2021-07-02 01:56:38 +08:00
|
|
|
"puppeteer": "^10.0.0",
|
2021-03-01 23:20:44 +08:00
|
|
|
"rollup": "~2.38.5",
|
2020-04-26 13:24:25 +08:00
|
|
|
"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",
|
|
|
|
"tslib": "^2.3.1",
|
2021-09-02 04:39:46 +08:00
|
|
|
"ts-jest": "^27.0.5",
|
2021-03-04 00:29:20 +08:00
|
|
|
"typescript": "^4.2.2",
|
2021-11-02 13:56:17 +08:00
|
|
|
"vite": "^2.6.0",
|
|
|
|
"vue": "workspace:*",
|
|
|
|
"yorkie": "^2.0.0"
|
2018-09-19 23:35:38 +08:00
|
|
|
}
|
|
|
|
}
|