-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.26 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
{
"private": true,
"description": "A tool to start a server with Webpack. support hot module replacement and build.",
"scripts": {
"build": "lerna run build --stream --parallel",
"watch": "lerna run watch --stream --parallel",
"version": "yarn run pre-release && lerna version",
"release": "yarn run lint && yarn run build && yarn run version && lerna publish from-git",
"manual-release": "lerna publish from-git",
"pre-release": " ts-node ./scripts/preRelease.ts",
"clean": "lerna clean --yes && rm -rf ./packages/**/package-lock.json && rm -rf ./packages/**/lib",
"clean:package": "rm -rf ./packages/**/package-lock.json",
"bootstrap": "yarn install && lerna bootstrap",
"watch:dev": "NODE_ENV=development ts-node ./scripts/pipe.ts",
"build:prod": "NODE_ENV=production ts-node ./scripts/pipe.ts",
"link": "NODE_ENV=localtest ts-node ./scripts/pipe.ts",
"prettier": "prettier -c --write **/*",
"lint": "eslint packages --fix --ext .ts",
"test": "jest",
"example:project": "cd example/project && ftbjs serve",
"example:library": "cd example/library && ftbjs serve"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/*.{.ts,.tsx}": [
"eslint --fix --ext .ts"
],
"packages/**/*.{js,jsx,ts,tsx,json,md}": [
"prettier -c --write **/*"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ftbjs/ftb-service.git"
},
"keywords": [
"cli",
"webpack-service"
],
"author": "biyuqiwan@163.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/ftbjs/ftb-service/issues"
},
"homepage": "https://github.com/ftbjs/ftb-service#readme",
"devDependencies": {
"@types/jest": "^25.1.5",
"@types/node": "^13.9.8",
"@types/shelljs": "^0.8.7",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"glob": "^7.1.6",
"husky": "^4.2.3",
"jest": "^25.2.6",
"lerna": "^3.19.0",
"lint-staged": "^10.1.1",
"prettier": "^2.0.2",
"shelljs": "^0.8.3",
"ts-jest": "^25.3.0",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
}
}