-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.12 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
{
"name": "jest-open-handle-test",
"version": "1.0.1",
"description": "This project is to reproduce a probable issue in Jest and show source to trigger error",
"main": "src/server.js",
"repository": {
"type": "git",
"url": "[email protected]:TarSzator/jest-open-handle-test.git"
},
"author": "René Simon <[email protected]>",
"pre-commit": "lint:staged",
"lint-staged": {
"*.js": [
"npm run lint:eslint:fix"
],
"*.json": [
"prettier --write"
]
},
"scripts": {
"test": "npm run testFail",
"testSuccess": "jest -c jest.config.js successfulTest",
"testFail": "jest -c jest.config.js failedTest",
"testFailWithDetect": "npm run testFail -- --detectOpenHandles",
"testFailWithWorkaround": "npm run testFail -- --forceExit --detectOpenHandles",
"checkUntrackedFiles": "git status | grep -wq 'Untracked files' && echo 'Error: Untracked files in git' && exit 1 || exit 0",
"preversion": "npm run checkUntrackedFiles",
"postversion": "git push && git push origin v$npm_package_version",
"hardUpdate": "rm -rf node_modules/ package-lock.json ; npm i",
"lint": "npm run lint:js",
"lint:eslint": "eslint --ignore-path .gitignore --format gitlab",
"lint:eslint:ci": "eslint --ignore-path .gitignore --format gitlab .",
"lint:eslint:fix": "eslint --ignore-path .gitignore --format gitlab --fix",
"lint:js": "npm run lint:eslint -- . ",
"lint:js:fix": "npm run lint:eslint:fix -- . ",
"lint:staged": "lint-staged",
"prettify": "prettier --write '**/*.js'"
},
"dependencies": {
"lodash": "^4.17.19"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"babel-eslint": "10.1.0",
"eslint": "^7.5.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-config-prettier": "6.11.0",
"eslint-formatter-gitlab": "^2.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "3.1.4",
"jest": "^26.1.0",
"jest-html-reporter": "^3.1.3",
"jest-junit": "^11.0.1",
"lint-staged": "^10.2.11",
"pre-commit": "^1.2.2",
"prettier": "^2.0.5"
}
}