This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
executable file
·56 lines (56 loc) · 1.89 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
{
"name": "nhsx-website",
"version": "2.10.0",
"description": "The NHSX website",
"main": "app.js",
"scripts": {
"babel": "babel --presets es2015 app/scripts/main.js -o public/js/main.bundle.js",
"build": "npm run build:css && npm run build:js && npm run build:assets",
"build:css": "node-sass --output-style compressed app/styles/main.scss public/css/main.min.css",
"build:js": "npm run webpack",
"build:assets": "cpx 'app/assets/**/*' public/assets/",
"clean": "touch public/tmp.txt && rm -rf public/*",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint app/scripts/**",
"lint:css": "sass-lint 'app/**/*.scss' -v -q",
"nuke": "npm run clean && rm -rf node_modules/",
"postinstall": "npm run build",
"start": "node app",
"test": "npm run lint",
"watch": "concurrently \"npm run watch:scss\" \"npm run watch:js\" \"npm run watch:assets\" \"npm start\"",
"watch:scss": "npm run build:css && npm run build:css -- -w",
"watch:js": "webpack -w",
"watch:assets": "cpx 'app/assets/**/*' public/assets/ --watch",
"webpack": "webpack"
},
"author": "https://github.com/nhsx",
"repository": {
"type": "git",
"url": "https://github.com/nhsx/nhsx-website.git"
},
"license": "MIT",
"dependencies": {
"compression": "^1.7.4",
"express": "^4.17.1",
"nunjucks": "^3.2.1",
"path": "^0.12.7"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"babel-loader": "^8.1.0",
"browser-sync": "^2.26.7",
"concurrently": "^4.1.2",
"cpx": "^1.5.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-config-nhsuk": "^0.16.0",
"eslint-plugin-import": "^2.20.1",
"minimist": "^1.2.5",
"nhsuk-frontend": "^3.0.3",
"node-sass": "^4.13.1",
"sass-lint": "^1.13.1",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
}
}