-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
41 lines (41 loc) · 1.29 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "code-migrate-monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"prepare": "husky install",
"build-clean": "rm -rf ./packages/*/build ./packages/*/tsconfig.tsbuildinfo",
"clean": "yarn build-clean && rm -rf ./packages/*/node_modules && rm -rf ./node_modules",
"watch": "yarn tsc -b --watch --incremental packages/code-migrate/tsconfig.prod.json",
"build": "yarn tsc -b packages/code-migrate/tsconfig.prod.json",
"lint": "eslint .",
"test": "yarn --cwd=packages/code-migrate test ",
"createVersion": "yarn build-clean && yarn build && yarn test && lerna publish"
},
"devDependencies": {
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.8",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"ast-types": "^0.14.2",
"eslint": "^7.13.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.1.4",
"husky": ">=4",
"jest": "^26.6.3",
"lerna": "^3.22.1",
"lint-staged": ">=10",
"prettier": "^2.1.2",
"recast": "^0.20.4",
"ts-node": "^9.0.0",
"type-fest": "^0.19.0",
"typescript": "^4.0.5"
},
"lint-staged": {
"*.ts": "eslint --cache --fix"
}
}