forked from mozilla/mozillafestival.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 3.79 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "mozillafestival.org",
"version": "1.0.0",
"description": "Mozilla Festival Website",
"author": "Mozilla Foundation",
"repository": "https://github.com/mozilla/mozillafestival.org",
"license": "MPL-2.0",
"main": "public/build/server.bundle.js",
"scripts": {
"bootstrap": "shx rm -rf public/build && shx mkdir public/build && shx rm -rf public/vendor && shx mkdir public/vendor && shx mkdir public/vendor/css",
"start": "npm run build && run-p server watch:**",
"build": "run-s bootstrap build:js build:css copy:styling-dependency",
"heroku-postbuild": "echo Skip builds on Heroku",
"build:js": "run-s build-client:js build-server:js",
"build-client:js": "webpack --config webpack.config.js --profile --display-error-details --colors",
"build-server:js": "webpack --config webpack.server.config.js --display-error-details --colors",
"build:css": "lessc less/index.less public/build/style.css && npm run build:css:prefix",
"build:css:prefix": "postcss --use autoprefixer -o public/style.css public/build/style.css",
"copy:styling-dependency": "run-s bootstrap:mofo-bootstrap bootstrap:fontawesome bootstrap:prefix",
"bootstrap:mofo-bootstrap": "shx cp -r node_modules/mofo-bootstrap/dest/css/mofo-bootstrap.css public/vendor/css/mofo-bootstrap.css",
"bootstrap:fontawesome": "shx cp -r node_modules/font-awesome/css/font-awesome.min.css public/vendor/css/ && shx cp -r node_modules/font-awesome/fonts public/vendor",
"bootstrap:prefix": "postcss --use autoprefixer -o public/vendor/css/mofo-bootstrap.css public/vendor/css/mofo-bootstrap.css",
"watch:js": "chokidar 'main.jsx' 'app.jsx' 'lib/**/*.js' 'lib/**/*.jsx' 'components/**/*.jsx' 'pages/**/*.jsx' 'pages/**/*.js' 'team-bio/**/*.js' 'talks/**/*.js' 'pages/**/*.json' 'webpack.config.js' -c 'npm run build:js'",
"watch:css": "chokidar 'components/**/*.less' 'pages/**/*.less' 'less/**/*.less' -c 'npm run build:css'",
"test": "run-s test:**",
"test:js": "eslint --config .eslintrc.yaml \"*.js\" \"*.jsx\" \"lib/**/*.js\" \"lib/**/*.jsx\" \"components/**/*.jsx\" \"components/**/*.js\" \"pages/**/*.jsx\" \"pages/**/*.js\" \"team-bio/**/*.js\" \"talks/**/*.js\" webpack.config.js",
"postinstall": "npm run build",
"server": "node public/build/server.bundle.js"
},
"dependencies": {
"autoprefixer": "^9.1.5",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"body-parser": "^1.18.3",
"classnames": "^2.2.6",
"compression": "^1.7.3",
"event-stream": "3.3.4",
"express": "^4.16.3",
"express-rate-limit": "^2.14.2",
"font-awesome": "^4.7.0",
"google-spreadsheet": "^2.0.5",
"habitat": "0.4.1",
"hatchet": "0.3.2",
"less": "^3.0.2",
"less-plugin-clean-css": "^1.5.1",
"mapbox.js": "^3.1.1",
"mofo-bootstrap": "^3.2.0",
"mofo-ui": "^2.0.0",
"moment": "^2.22.2",
"moment-timezone": "^0.5.21",
"npm-run-all": "^4.1.3",
"postcss-cli-simple": "^1.0.4",
"rc-time-picker": "^3.3.1",
"react": "^15.6.2",
"react-datepicker": "0.60.2",
"react-dom": "^15.6.2",
"react-formbuilder": "0.11.0",
"react-helmet": "^5.2.0",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-select": "^1.2.1",
"request": "^2.88.0",
"shx": "^0.2.2",
"slugify": "^1.2.9",
"underscore": "^1.9.1",
"url": "^0.11.0",
"uuid": "^3.3.2",
"validator": "^9.4.1",
"webpack": "^3.11.0",
"whatwg-fetch": "^2.0.4"
},
"engines": {
"node": "^8.9.0",
"npm": "^5.5.1"
},
"babel": {
"presets": [
"es2015",
"react"
]
},
"devDependencies": {
"chokidar": "^2.0.4",
"chokidar-cli": "^1.2.1",
"eslint": "^4.19.1",
"eslint-plugin-react": "^7.11.1",
"mofo-style": "^2.4.0"
}
}