-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
74 lines (74 loc) · 2.59 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "static-html-boilerplate",
"description": "Static HTML Boilerplate",
"version": "0.6.0",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/prototypeinteractive/static-html-boilerplate.git"
},
"author": "Prototype Interactive",
"license": "ISC",
"homepage": "https://github.com/prototypeinteractive/static-html-boilerplate#readme",
"private": true,
"type": "module",
"exports": "./server.js",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "node ./src/server.js",
"lint": "node_modules/.bin/eslint src/assets/js --fix",
"server": "cross-env NODE_ENV=development DEBUG=api nodemon ./src/server.js",
"clean": "shx rm -rf public && shx rm -rf ./src/assets/data.json",
"dev:data": "nodemon --watch ./src/assets/data ./src/scripts/merge-data.js",
"dev:webpack": "wait-on ./src/assets/data.json && webpack serve --config webpack.config.dev.js",
"dev": "npm run clean && concurrently \"npm:dev:data\" \"npm:dev:webpack\"",
"build": "npm run clean && node ./src/scripts/merge-data.js && webpack --config webpack.config.prod.js",
"deploy": "aws s3 cp public/ s3://[S3-BUCKET-ID] --recursive && aws cloudfront create-invalidation --distribution-id [CF-DISTRIBUTION-ID] --paths '/*'"
},
"dependencies": {
"basic-auth": "^2.0.1",
"bootstrap": "^5.2.1",
"compression": "^1.7.4",
"express": "^4.17.2",
"helmet": "^6.0.0",
"serve-static": "^1.14.2"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/eslint-parser": "^7.17.0",
"@babel/eslint-plugin": "^7.16.5",
"@babel/preset-env": "^7.16.11",
"autoprefixer": "^10.4.2",
"babel-loader": "^9.1.2",
"browser-sync": "^2.27.7",
"concurrently": "^7.4.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.6.0",
"cssnano": "^5.0.17",
"eslint": "^8.8.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-no-secrets": "^0.8.9",
"eslint-plugin-no-unsanitized": "^4.0.1",
"handlebars-helpers": "^0.10.0",
"handlebars-webpack-plugin": "^2.2.1",
"jshint": "^2.13.4",
"mini-css-extract-plugin": "^2.5.3",
"nodemon": "^2.0.20",
"postcss": "^8.4.6",
"postcss-loader": "^7.0.1",
"sass": "^1.49.7",
"sass-loader": "^13.0.2",
"shx": "^0.3.4",
"sitemap-webpack-plugin": "^1.1.1",
"svg-sprite-loader": "^6.0.11",
"svgo-loader": "^4.0.0",
"wait-on": "^7.0.1",
"webpack": "^5.68.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.7.4",
"webpack-remove-empty-scripts": "^1.0.1"
}
}