-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.49 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": "NQueens",
"version": "1.0.3",
"description": "N-Queens Counting Algorithms in Javascript",
"main": "index.js",
"author": "Marcel Mokoš (https://github.com/marcelmokos)",
"license": "ISC",
"scripts": {
"start": "babel-node src/index.js",
"test": "yarn run lint:fix && cross-env BABEL_ENV=commonjs jest --testPathPattern /src/",
"test:watch": "yarn test -- --watch",
"prettier": "prettier --trailing-comma es5 --print-width 80 --bracket-spacing=false --write '{src,spec,__{tests,mocks}__}/**/*.js'",
"lint": "eslint \"src/**\" --cache",
"lint:fix": "yarn run prettier && yarn run lint -- --fix",
"lint:staged": "yarn lint:fix -- --rule 'no-console:2' --rule 'no-debugger:2'",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"lint:staged",
"git add"
]
},
"dependencies": {
"babel-eslint": "^10.0.3",
"cli-table": "^0.3.1",
"immutable": "^4.0.0-rc.12"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/node": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"cross-env": "^6.0.3",
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-async-await": "^0.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.0.3",
"eslint-plugin-protractor": "^2.1.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"lint-staged": "^9.4.2",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1"
}
}