-
-
Notifications
You must be signed in to change notification settings - Fork 375
/
package.json
46 lines (46 loc) · 1.24 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"cli": "yarn workspace preact-cli",
"create-cli": "yarn workspace create-preact-cli",
"pretest": "yarn lint",
"test": "run-p test:*",
"test:cli": "yarn cli test",
"test:create-cli": "yarn create-cli test",
"prettier": "prettier --write **/*.{js,ts,tsx,json,css,scss,md,yml}",
"lint": "eslint .",
"changeset": "changeset",
"release": "ncp README.md packages/cli/README.md && changeset publish && rimraf packages/cli/README.md",
"prepare": "husky install"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx,json,css,scss,md,yml}": [
"prettier --write"
]
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.16.0",
"@types/jest": "^24.9.1",
"babel-eslint": "^10.0.1",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"husky": "^6.0.0",
"jest": "^24.9.0",
"lint-staged": "^11.0.0",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"rimraf": "^3.0.2"
}
}