2018-09-19 23:35:38 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
2020-10-21 04:24:12 +08:00
|
|
|
"version": "3.0.2",
|
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",
|
2020-06-11 04:54:23 +08:00
|
|
|
"lint": "eslint --ext .ts packages/*/src/**",
|
|
|
|
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
2020-03-20 04:38:31 +08:00
|
|
|
"ls-lint": "ls-lint",
|
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",
|
|
|
|
"serve": "serve",
|
2020-06-10 05:36:45 +08:00
|
|
|
"open": "open http://localhost:5000/packages/template-explorer/local.html",
|
|
|
|
"preinstall": "node ./scripts/checkYarn.js"
|
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-03-20 04:38:31 +08:00
|
|
|
"pre-commit": "ls-lint && 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",
|
2020-09-16 01:04:28 +08:00
|
|
|
"@ls-lint/ls-lint": "^1.9.2",
|
|
|
|
"@microsoft/api-extractor": "^7.9.15",
|
|
|
|
"@rollup/plugin-commonjs": "^15.0.0",
|
2019-11-19 22:02:46 +08:00
|
|
|
"@rollup/plugin-json": "^4.0.0",
|
2020-09-16 01:04:28 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
2019-11-19 22:02:46 +08:00
|
|
|
"@rollup/plugin-replace": "^2.2.1",
|
2020-06-17 00:11:51 +08:00
|
|
|
"@types/jest": "^26.0.0",
|
2020-09-16 01:04:28 +08:00
|
|
|
"@types/node": "^14.10.1",
|
2019-12-03 07:18:02 +08:00
|
|
|
"@types/puppeteer": "^2.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",
|
2019-12-03 07:18:02 +08:00
|
|
|
"puppeteer": "^2.0.0",
|
2020-09-16 01:04:28 +08:00
|
|
|
"rollup": "^2.26.11",
|
2020-04-26 13:24:25 +08:00
|
|
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
|
|
"rollup-plugin-node-globals": "^1.4.0",
|
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",
|
2020-02-06 23:22:16 +08:00
|
|
|
"serve": "^11.3.0",
|
2020-08-21 05:48:28 +08:00
|
|
|
"ts-jest": "^26.2.0",
|
|
|
|
"typescript": "^4.0.2",
|
2020-04-26 13:24:25 +08:00
|
|
|
"yorkie": "^2.0.0"
|
2018-09-19 23:35:38 +08:00
|
|
|
}
|
|
|
|
}
|