-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpackage.json
41 lines (41 loc) · 1.25 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
{
"name": "boilerplate",
"version": "1.0.0",
"private": true,
"description":
"This package.json file is provided to install local development tools such as eslint and commit hooks",
"author": "Clevertech <support@clevertech.biz>",
"scripts": {
"precommit": "lint-staged",
"lint": "eslint .",
"e2e": "testcafe chrome e2e/*.test.js",
"db-client": "bnr --path=./api/.env db-client"
},
"betterScripts": {
"db-client":
"PGPASSWORD=$DB_PASSWORD psql -h 127.0.0.1 -U $DB_USER $DB_DATABASE"
},
"lint-staged": {
"*.{js,jsx}": ["eslint --fix", "git add"],
"*.{json,css,scss,md}": ["prettier --write", "git add"],
"*.*": ["findsecrets", "git add"]
},
"devDependencies": {
"@clevertech.biz/findsecrets": "^0.1.1",
"babel-eslint": "^7.2.3",
"better-npm-run": "^0.1.0",
"eslint": "^4.1.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-react-app": "^2.0.1",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jest": "^21.5.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^7.1.0",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
"prettier": "^1.9.2",
"testcafe": "^0.18.6"
}
}