43 lines
969 B
JSON
43 lines
969 B
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "node scripts/dev.js",
|
|
"build": "node scripts/build.js",
|
|
"lint": "prettier --write --parser typescript 'packages/*/src/**/*.ts'"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"chalk": "^2.4.1",
|
|
"dts-bundle": "^0.7.3",
|
|
"execa": "^1.0.0",
|
|
"fs-extra": "^7.0.0",
|
|
"lerna": "^3.4.0",
|
|
"lint-staged": "^7.2.2",
|
|
"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",
|
|
"typescript": "^3.0.3",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|