2018-09-19 23:35:38 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
2021-07-17 02:44:06 +08:00
|
|
|
"version": "3.2.0-beta.1",
|
2018-09-19 23:35:38 +08:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"dev": "node scripts/dev.js",
|
|
|
|
"build": "node scripts/build.js",
|
2020-02-07 04:52:56 +08:00
|
|
|
"size": "node scripts/build.js vue runtime-dom size-check -p -f global",
|
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)\"",
|
2020-07-02 04:18:39 +08:00
|
|
|
"test": "node scripts/build.js vue -f global -d && jest --runInBand",
|
2020-06-13 06:03:51 +08:00
|
|
|
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && yarn test-dts-only",
|
|
|
|
"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",
|
|
|
|
"dev-compiler": "npm-run-all --parallel \"dev template-explorer\" serve",
|
2021-07-17 00:22:40 +08:00
|
|
|
"dev-sfc": "npm-run-all --parallel \"dev compiler-sfc -f esm-browser\" \"dev runtime-core -f esm-bundler\" \"dev runtime-dom -f esm-bundler\" serve-sfc-playground",
|
2021-07-07 00:02:53 +08:00
|
|
|
"serve-sfc-playground": "vite packages/sfc-playground",
|
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-03-28 13:40:51 +08:00
|
|
|
"preinstall": "node ./scripts/checkYarn.js",
|
2021-03-28 14:08:27 +08:00
|
|
|
"prebuild-sfc-playground": "node scripts/build.js compiler 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",
|
|
|
|
"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": {
|
|
|
|
"node": ">=10.0.0"
|
|
|
|
},
|
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",
|
2020-12-03 06:05:30 +08:00
|
|
|
"@types/jest": "^26.0.16",
|
2020-09-16 01:04:28 +08:00
|
|
|
"@types/node": "^14.10.1",
|
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",
|
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",
|
2020-06-17 00:11:51 +08:00
|
|
|
"jest": "^26.0.1",
|
2020-06-17 00:09:20 +08:00
|
|
|
"lint-staged": "^10.2.10",
|
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",
|
2019-10-22 23:52:29 +08:00
|
|
|
"prettier": "~1.14.0",
|
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",
|
2020-08-21 05:48:28 +08:00
|
|
|
"ts-jest": "^26.2.0",
|
2021-03-04 00:29:20 +08:00
|
|
|
"typescript": "^4.2.2",
|
2020-04-26 13:24:25 +08:00
|
|
|
"yorkie": "^2.0.0"
|
2018-09-19 23:35:38 +08:00
|
|
|
}
|
|
|
|
}
|