2018-09-19 23:35:38 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"dev": "node scripts/dev.js",
|
|
|
|
"build": "node scripts/build.js",
|
2018-10-27 03:44:50 +08:00
|
|
|
"size": "node scripts/build.js runtime-dom -f esm-browser",
|
2018-09-21 21:52:46 +08:00
|
|
|
"lint": "prettier --write --parser typescript 'packages/**/*.ts'",
|
|
|
|
"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"
|
|
|
|
],
|
|
|
|
"*.ts": [
|
|
|
|
"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",
|
|
|
|
"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-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
|
|
|
}
|
|
|
|
}
|