-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.27 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
{
"name": "promise-custom",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": ">=14 <19",
"yarn": ">=1.0.0"
},
"scripts": {
"prepare": "husky install",
"watch:test": "nodemon --exec \"yarn format && yarn test\" -e js --watch ./src --watch ./tests",
"test": "yarn test:code && yarn test:jest --coverage && yarn test:jest:native-promises",
"jest": "yarn node --experimental-vm-modules ./node_modules/.bin/jest",
"format": "yarn format:code",
"format:code": "prettier -w .",
"test:code": "eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .js,.jsx .",
"test:jest": "yarn jest",
"test:jest:native-promises": "NATIVE_PROMISES=true yarn test:jest"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"lint-staged": {
"*.{js,jsx,mjs}": [
"eslint --fix"
],
"*.{json,md,scss,yaml,yml}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.1",
"jest": "^29.2.2",
"lint-staged": "13.0.3",
"nodemon": "^2.0.20",
"prettier": "2.7.1"
}
}