2018-09-19 23:35:38 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"dev": "node scripts/dev.js",
|
|
|
|
"build": "node scripts/build.js",
|
2019-10-14 13:08:00 +08:00
|
|
|
"size-runtime": "node scripts/build.js runtime-dom -p -f global",
|
|
|
|
"size-compiler": "node scripts/build.js compiler-dom -p -f global",
|
2019-10-03 05:45:02 +08:00
|
|
|
"size": "yarn size-runtime && yarn size-compiler",
|
2019-10-15 03:07:43 +08:00
|
|
|
"lint": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
2018-09-21 21:52:46 +08:00
|
|
|
"test": "jest"
|
2018-09-19 23:35:38 +08:00
|
|
|
},
|
2018-09-19 23:37:18 +08:00
|
|
|
"gitHooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"commit-msg": "node scripts/verifyCommit.js"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
2019-10-15 03:07:43 +08:00
|
|
|
"*.ts?(x)": [
|
2018-09-19 23:37:18 +08:00
|
|
|
"prettier --parser=typescript --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2018-09-19 23:35:38 +08:00
|
|
|
"devDependencies": {
|
2019-09-04 00:16:22 +08:00
|
|
|
"@microsoft/api-extractor": "^7.3.9",
|
2019-08-20 22:50:43 +08:00
|
|
|
"@types/jest": "^24.0.18",
|
2019-10-02 04:55:04 +08:00
|
|
|
"brotli": "^1.3.2",
|
2019-08-20 22:50:43 +08:00
|
|
|
"chalk": "^2.4.2",
|
2019-08-20 22:01:23 +08:00
|
|
|
"execa": "^2.0.4",
|
|
|
|
"fs-extra": "^8.1.0",
|
2019-08-20 22:50:43 +08:00
|
|
|
"jest": "^24.9.0",
|
|
|
|
"lerna": "^3.16.4",
|
2019-08-20 22:01:23 +08:00
|
|
|
"lint-staged": "^9.2.3",
|
2018-09-19 23:35:38 +08:00
|
|
|
"minimist": "^1.2.0",
|
2019-08-20 22:19:35 +08:00
|
|
|
"prettier": "~1.14.0",
|
2019-08-20 22:34:25 +08:00
|
|
|
"rollup": "^1.19.4",
|
2019-09-04 02:48:26 +08:00
|
|
|
"rollup-plugin-alias": "^2.0.0",
|
2019-09-20 11:19:48 +08:00
|
|
|
"rollup-plugin-json": "^4.0.0",
|
2019-08-20 22:34:25 +08:00
|
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
|
|
"rollup-plugin-terser": "^5.1.1",
|
2019-09-04 02:47:48 +08:00
|
|
|
"rollup-plugin-typescript2": "^0.24.0",
|
2019-08-20 22:50:43 +08:00
|
|
|
"ts-jest": "^24.0.2",
|
2019-08-20 22:19:35 +08:00
|
|
|
"typescript": "^3.5.3",
|
2018-09-19 23:37:18 +08:00
|
|
|
"yorkie": "^2.0.0"
|
2018-09-19 23:35:38 +08:00
|
|
|
}
|
|
|
|
}
|