This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
74 lines (74 loc) · 3.22 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": "science.mozilla.org",
"version": "1.0.0",
"description": "Mozilla Science",
"author": "Mozilla",
"license": "MPL-2.0",
"repository": "mozilla/science.mozilla.org",
"engines": {
"node": "^8.9.1",
"npm": "^5.5.1"
},
"scripts": {
"start": "npm run build && npm-run-all --parallel server:dev watch:**",
"build": "npm run build:config && npm run build:js && npm run build:scss && npm run build:static && npm run build:assets",
"build:config": "node build-config.js > config/env.generated.json",
"build:js": "webpack --optimize-minimize",
"build:scss": "node-sass app/scss/main.scss dist/css/main.css && postcss --use autoprefixer --autoprefixer.browsers 'last 3 versions' -o dist/css/main.css dist/css/main.css",
"build:static": "cp -r node_modules/mofo-bootstrap/dest/css dist/ && postcss --use autoprefixer --autoprefixer.browsers 'last 3 versions' -o dist/css/mofo-bootstrap.css dist/css/mofo-bootstrap.css && cp app/index.html dist/index.html",
"build:assets": "cp -r app/assets dist/ && cp app/favicon.ico dist/",
"heroku-postbuild": "echo Skip builds on Heroku",
"server:dev": "live-server ./dist --port=1818 --entry-file=index.html",
"server:prod": "node server.js",
"watch:js": "chokidar 'app/js/**/*.js' 'app/react/**/*.js' 'app/react/**/*.jsx' -c 'npm run build:js'",
"watch:config": "chokidar '.env' 'config/*.env' -c 'npm run build:js'",
"watch:scss": "chokidar 'app/scss/**/*' 'app/react/**/*.scss' -c 'npm run build:scss'",
"watch:html": "chokidar 'app/index.html' -c 'npm run build:static'",
"watch:assets": "chokidar 'app/assets/**/*' -c 'npm run build:assets'",
"test": "npm-run-all test:**",
"test:js": "eslint --config ./.eslintrc.yaml 'app/js/**/*.js' 'app/react/**/*.js' 'app/react/**/*.jsx' webpack.config.js",
"test:scss": "stylelint 'app/**/*.scss' --syntax scss",
"optimize:img": "imagemin-dir app/assets/img app/assets/img_optimized && rm -rf app/assets/img && mv app/assets/img_optimized app/assets/img",
"postinstall": "npm run build"
},
"dependencies": {
"babel-core": "^6.7.4",
"babel-eslint": "^7.2.2",
"babel-loader": "^6.2.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"chokidar": "^1.4.3",
"chokidar-cli": "^1.2.0",
"classnames": "2.2.3",
"eslint": "2.9.0",
"eslint-plugin-react": "^4.2.3",
"file-loader": "^0.8.5",
"habitat": "^3.1.2",
"json-loader": "^0.5.4",
"live-server": "^0.9.2",
"mofo-bootstrap": "2.0.1",
"mofo-style": "^2.4.0",
"mofo-ui": "1.6.0",
"moment": "2.13.0",
"moment-timezone": "0.5.4",
"node-sass": "^3.4.2",
"npm-run-all": "^1.7.0",
"postcss-cli-simple": "^1.0.1",
"pushstate-server": "1.8.1",
"rc-collapse": "1.6.3",
"react": "15.3.2",
"react-debounce-input": "^2.4.0",
"react-dom": "15.3.2",
"react-ga": "^2.1.2",
"react-hamburger-menu": "alanmoo/react-hamburger-menu#0.0.5",
"react-router": "2.4.1",
"react-router-scroll": "0.2.0",
"stylelint": "^7.3.1",
"stylelint-config-standard": "^13.0.2",
"webpack": "^1.12.14"
},
"devDependencies": {
"imagemin-cli-preserve-dir-structure": "0.0.2"
}
}