forked from farrow-js/farrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.9 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
{
"name": "farrow",
"version": "0.0.0",
"license": "MIT",
"description": "A type-friendly web framework",
"author": "https://github.com/Lucifier129",
"private": true,
"scripts": {
"build": "run-s clean build:dist clean:tests",
"build:dist": "tsc -b ./tsconfig.build.json",
"clean": "shx rm -rf ./packages/**/*.tsbuildinfo && shx rm -rf ./packages/**/dist",
"clean:tests": "shx rm -rf ./packages/**/dist/**/__tests__",
"format": "run-p format:md format:json format:source format:yml",
"format:json": "prettier --parser json --write **/*.json",
"format:md": "prettier --parser markdown --write ./*.md ./{examples,packages}/**/*.md",
"format:source": "prettier --config ./package.json ./{examples,packages}/**/*.{ts,tsx,js} --write",
"format:yml": "prettier --parser yaml --write ./*.{yml,yaml}",
"test": "jest --config ./jest.config.js",
"test:coverage": "jest --config ./jest.config.js --collectCoverage --coverage",
"bootstrap": "lerna bootstrap --hoist",
"release": "lerna publish",
"prerelease": "npm run build && npm run test"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.11.10",
"codecov": "^3.8.0",
"husky": "^4.3.0",
"jest": "^26.6.0",
"lerna": "^3.22.1",
"lint-staged": "^10.4.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"shx": "^0.3.2",
"ts-jest": "^26.4.1",
"ts-node": "^9.0.0",
"tslib": "^2.0.3",
"typescript": "^4.1.2"
},
"lint-staged": {
"*.@(js|ts|tsx)": ["prettier --write"],
"*.@(yml|yaml)": ["prettier --parser yaml --write"],
"*.md": ["prettier --parser markdown --write"],
"*.json": ["prettier --parser json --write"]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}