-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
40 lines (40 loc) · 1.88 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
{
"name": "starttls-frontend",
"version": "1.0.0",
"description": "Static front end for the STARTTLS scanner",
"scripts": {
"sass:build": "node-sass sass/application.scss static/application.css",
"sass:watch": "onchange 'sass/**/*.scss*' -- npm run sass:build",
"templates:build": "handlebars js/templates/* -f static/templates.js",
"templates:watch": "npm run templates:build && onchange 'js/templates/*' -- npm run templates:build",
"js:install": "mkdir -p static/vendor && cp node_modules/jquery/dist/jquery.min.js node_modules/raven-js/dist/raven.js node_modules/handlebars/dist/handlebars.runtime.min.js node_modules/chart.js/dist/Chart.bundle.min.js node_modules/url-polyfill/url-polyfill.min.js static/vendor",
"js:build": "npm run js:install && npm run templates:build && babel js --out-file static/application.js",
"js:watch": "npm run js:install && parallelshell 'npm run templates:watch' 'babel js --watch --out-file static/application.js --source-maps'",
"build": "npm run sass:build && npm run js:build && hugo --config config.prod.toml,config.toml",
"serve": "npm run sass:build && parallelshell 'npm run sass:watch' 'npm run js:watch' 'hugo serve --config config.dev.toml,config.toml'",
"lint": "./node_modules/.bin/sass-lint -vq"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EFForg/starttls-frontend.git"
},
"author": "Electronic Frontier Foundation",
"bugs": {
"url": "https://github.com/EFForg/starttls-frontend/issues"
},
"dependencies": {
"autoprefixer": "^7.1.2",
"babel-cli": "^6.26.0",
"babel-preset-babili": "^0.1.4",
"chart.js": "^2.7.3",
"handlebars": "^4.0.12",
"jquery": "^3.4.0",
"node-sass": "^4.12.0",
"onchange": "^3.2.1",
"parallelshell": "^3.0.1",
"raven-js": "^3.25.2",
"sass-lint": "^1.12.1",
"susy": "^2.2.12",
"url-polyfill": "^1.1.7"
}
}