-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.56 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
{
"name": "fullstack-site",
"version": "0.0.1",
"author": "Grayscale Digital",
"license": "Private, all rights reserved",
"private": true,
"scripts": {
"postinstall": "cd themes/featherweight && yarn install",
"start": "themes/featherweight/node_modules/.bin/concurrently \"cd themes/featherweight && yarn run watch\" \"hugo server --disableFastRender --bind 0.0.0.0\" \"yarn run api:dev\"",
"api:dev": "node_modules/nodemon/bin/nodemon.js api/index.js",
"api:prod": "node api/index.js",
"dev": "cd themes/featherweight && yarn run dev && cd ../.. && hugo",
"build": "cd themes/featherweight && yarn run build && cd ../.. && hugo",
"fmt": "themes/featherweight/node_modules/.bin/prettier --write \"src/**/*.{js,ts,scss,css}\"",
"lint-styles": "themes/featherweight/node_modules/.bin/stylelint \"src/styles/**/*.css\"",
"lint": "themes/featherweight/node_modules/.bin/eslint --config \"themes/featherweight/.eslintrc.json\" \"src/js/**/*.{js,ts}\""
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint && yarn run lint-styles && yarn run fmt"
}
},
"nodemonConfig": {
"restartable": "rs",
"env": {
"NODE_ENV": "development"
},
"watch": [
"api/**/*"
]
},
"devDependencies": {
"husky": "^3.1.0",
"nodemon": "^2.0.4"
},
"dependencies": {
"body-parser": "^1.19.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"node-fetch": "^2.6.0"
}
}