-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.21 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.21 KB
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
{
"name": "node-package-boilerplate",
"version": "0.0.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.(js|ts)\"",
"lint": "eslint src --ext .js,.ts",
"lint:fix": "eslint src --fix --ext .js,.ts",
"test": "jest --config jest.config.js",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@tsconfig/node18": "1.0.1",
"@types/jest": "28.1.2",
"@types/node": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.27.0",
"@typescript-eslint/parser": "5.27.0",
"eslint": "8.17.0",
"jest": "28.1.1",
"lint-staged": "13.0.2",
"prettier": "2.7.1",
"ts-jest": "28.0.5",
"typescript": "4.7.4"
},
"lint-staged": {
"src/**/*.{js,json,ts}": [
"prettier --single-quote --write",
"eslint --fix",
"git add"
]
},
"files": [
"lib/**/*"
],
"engines": {
"node": "=18.4.0",
"npm": "=8.12.1"
},
"volta": {
"node": "18.4.0",
"npm": "8.12.1"
}
}