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": {
|
2018-09-20 03:36:56 +08:00
|
|
|
"@types/jest": "^23.3.2",
|
2018-09-19 23:35:38 +08:00
|
|
|
"chalk": "^2.4.1",
|
|
|
|
"dts-bundle": "^0.7.3",
|
|
|
|
"execa": "^1.0.0",
|
|
|
|
"fs-extra": "^7.0.0",
|
2018-09-20 03:36:56 +08:00
|
|
|
"jest": "^23.6.0",
|
2018-09-19 23:35:38 +08:00
|
|
|
"lerna": "^3.4.0",
|
2018-09-19 23:37:18 +08:00
|
|
|
"lint-staged": "^7.2.2",
|
2018-09-19 23:35:38 +08:00
|
|
|
"minimist": "^1.2.0",
|
|
|
|
"prettier": "^1.14.2",
|
|
|
|
"rollup": "^0.65.0",
|
|
|
|
"rollup-plugin-alias": "^1.4.0",
|
|
|
|
"rollup-plugin-replace": "^2.0.0",
|
|
|
|
"rollup-plugin-terser": "^2.0.2",
|
|
|
|
"rollup-plugin-typescript2": "^0.17.0",
|
2018-09-20 03:36:56 +08:00
|
|
|
"ts-jest": "^23.10.0",
|
2019-05-30 22:09:48 +08:00
|
|
|
"typescript": "^3.5.0",
|
2018-09-19 23:37:18 +08:00
|
|
|
"yorkie": "^2.0.0"
|
2018-09-19 23:35:38 +08:00
|
|
|
}
|
|
|
|
}
|