-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.01 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "pkg",
"version": "0.0.0",
"private": true,
"description": "A scaffolding for building front-end libraries, with javascript and typescript support.",
"scripts": {
"build": "lerna run build --stream --parallel",
"start": "lerna run start --stream --parallel",
"lint": "eslint packages --fix --ext .ts,.js,.tsx",
"bootstrap": "lerna bootstrap",
"pre:start": "yarn run build && ts-node scripts/pre.ts prestart && yarn run clear:pkg",
"restart": "yarn run build && ts-node scripts/pre.ts restart",
"test": "jest -u --coverage",
"clear:pkg": "rimraf ./packages/**/package-lock.json",
"version": "yarn run clear:pkg && lerna version",
"release": "lerna publish from-git"
},
"engines": {
"node": ">=10"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ifakejs/pkg.git"
},
"keywords": [
"scaffold",
"javascript-library",
"typescript-library",
"javascript",
"typescript",
"webpack",
"cli",
"npm"
],
"author": "BiYuqi",
"license": "MIT",
"bugs": {
"url": "https://github.com/ifakejs/pkg/issues"
},
"homepage": "https://github.com/ifakejs/pkg#readme",
"devDependencies": {
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.10",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lerna": "^3.22.1",
"lint-staged": "^10.5.2",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"typescript": "~4.1.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn run test"
}
},
"lint-staged": {
"**/*.ts": [
"prettier --write --config .prettierrc.js \"packages/**/*.{js,ts}\"",
"yarn run lint"
]
}
}