-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.example.json
56 lines (55 loc) · 1.67 KB
/
package.example.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
{
"name": "Package-name",
"author": "Author name <[email protected]> (Domain.com)",
"version": "0.0.1",
"scripts": {
"development": "nodemon index.js -e js,graphql",
"netstat": "sudo netstat -nptl | grep node",
"start": "node src/index.js",
"prettier:lint": "prettier -l \"./src/**/*.{js,jsx,css,json,scss,ts,css,sass,less}\"",
"format": "npm run prettier -- --write",
"lint": "./node_modules/.bin/eslint ./src; exit 0",
"lint:fix": "npm run lint --fix",
"validate": "npm run prettier -- && npm run lint:fix",
"prettier": "prettier --write src/**/*.{js,jsx,css,json,scss,ts,css,sass,less}",
"test": "./node_modules/.bin/jest --verbose --coverage --updateSnapshot",
"watch": "./node_modules/.bin/jest --watch --notify --verbose --coverage --updateSnapshot",
"prettier:check": "prettier -l \"src/**/*.{js,jsx,css,json,scss,ts,css,sass,less}\"",
"jsinspect": "./node_modules/.bin/jsinspect src",
"lint-staged": "lint-staged",
"dev": "./run_dev.sh",
"database_migration": "./execute_sql_scripts.sh",
"token": "./generate_tokens.sh",
"tree": "./generate_tree.sh"
},
"main": "index.js",
"dependencies": {
},
"devDependencies": {
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^25.1.0",
"jsinspect": "^0.12.7",
"lint-staged": "^10.0.7",
"nodemon": "^2.0.2",
"prettier": "^1.19.1"
},
"keywords": [],
"license": "UNLICENSED",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{jsx,js,md,ts,css,sass,less,graphql,yml,yaml,scss,json,vue}": [
"npm run format",
"npm run lint:fix",
"./generate_env_example.sh",
"npm run test . ",
"git add"
]
}
}