48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "node scripts/dev.js",
|
|
"build": "node scripts/build.js",
|
|
"size": "node scripts/build.js renderer-dom -f esm-browser",
|
|
"lint": "prettier --write --parser typescript 'packages/**/*.ts'",
|
|
"test": "jest"
|
|
},
|
|
"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": {
|
|
"@types/jest": "^23.3.2",
|
|
"chalk": "^2.4.1",
|
|
"dts-bundle": "^0.7.3",
|
|
"execa": "^1.0.0",
|
|
"fs-extra": "^7.0.0",
|
|
"jest": "^23.6.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",
|
|
"ts-jest": "^23.10.0",
|
|
"typescript": "^3.0.3",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|