generated from ForbesLindesay/npm-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 1.58 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
{
"name": "parameter-reducers",
"description": "Use reducers to build type safe CLI parameter parsers",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "git@github.com:ForbesLindesay/parameter-reducers.git",
"author": "Forbes Lindesay <forbes@lindesay.co.uk>",
"license": "MIT",
"scripts": {
"build": "tsc",
"postbuild": "rimraf lib/**/__tests__",
"prettier:write": "prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"prettier:check": "prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"test": "jest",
"ci:test": "jest --silent --maxWorkers=2"
},
"dependencies": {},
"devDependencies": {
"@forbeslindesay/tsconfig": "^2.0.0",
"@types/jest": "^25.2.1",
"@types/node": "^14.0.18",
"husky": "^4.2.5",
"jest": "^25.3.0",
"lint-staged": "^10.1.3",
"prettier": "^2.0.4",
"rimraf": "^3.0.2",
"ts-jest": "^25.3.1",
"type-assertions": "^1.1.0",
"typescript": "^4.8.4"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testEnvironment": "node",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts?(x)"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"prettier --write"
],
"*.{md,json,yaml,js,jsx}": [
"prettier --write"
]
}
}