-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
50 lines (50 loc) · 1.78 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
{
"name": "amplifyaustin",
"version": "0.1.0",
"description": "Amplify Austin community involvement and map",
"main": "index.js",
"scripts": {
"setup": "npm install && cd ./client && npm install && cd ../server && npm install && cd ../db && npm install",
"test": "cd ./client && npm run test",
"launch": "cd ./client && npm run build && cd ../server && node bin/www && cd ../client npm run start &",
"lint:client": "cd ./client && ./node_modules/.bin/eslint \"src/**/*.{js,jsx}\" && echo 'Your code has passed the linting guidelines' || echo 'Please fix the errors listed above'",
"lint:server": "cd ./server && npm run lint",
"prettier:client": "./node_modules/.bin/prettier --write 'client/src/**/*.{js,jsx}'",
"prettier:server": "./node_modules/.bin/prettier --write 'server/routes/**/*.js'",
"deploy:dev": "npm run setup && cd ./client && npm run build && cd ../server && node bin/www",
"deploy:build": "npm run setup && cd ./client && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier:client && npm run prettier:server"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hratx-blue-ocean/amplify-austin.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/hratx-blue-ocean/amplify-austin/issues"
},
"homepage": "https://github.com/hratx-blue-ocean/amplify-austin#readme",
"dependencies": {
"axios": "0.19.0",
"dotenv": "8.0.0",
"faker": "4.1.0",
"prop-types": "15.7.2"
},
"devDependencies": {
"eslint-plugin-prettier": "3.1.1",
"husky": "3.0.9",
"prettier": "1.19.1",
"pretty-quick": "2.0.1"
},
"lint-staged": {
"client/src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add ."
]
}
}