This repository has been archived by the owner on Mar 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
103 lines (103 loc) · 3.41 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
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "lukkarimaatti",
"description": "lukkarimaatti scheduling tool",
"version": "1.5.12",
"main": "app/bootstrap.js",
"private": true,
"engines": {
"node": "8.11.4",
"npm": "6.4.0"
},
"dependencies": {
"autoprefixer": "9.0.2",
"axios": "0.18.0",
"babel-core": "6.26.3",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-polyfill": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babelify": "8.0.0",
"baconjs": "2.0.7",
"bluebird": "3.5.1",
"body-parser": "1.18.3",
"browserify": "16.2.2",
"cheerio": "0.22.0",
"compression": "1.7.3",
"cssnano": "4.0.5",
"cssnano-cli": "1.0.5",
"csvtojson": "2.0.7",
"express": "4.16.3",
"express-force-ssl": "0.3.2",
"history": "4.7.2",
"moment": "2.22.2",
"nodemailer": "4.6.7",
"path": "0.12.7",
"pg-promise": "8.4.5",
"postcss-cli": "6.0.0",
"prop-types": "15.6.2",
"query-string": "6.1.0",
"ramda": "0.25.0",
"react": "16.4.2",
"react-big-calendar": "0.15.0",
"react-dom": "16.4.2",
"request": "2.87.0",
"request-promise": "4.2.2",
"tough-cookie": "2.4.3",
"universal-router": "6.0.0"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-eslint": "8.2.6",
"chai": "4.1.2",
"eslint": "5.2.0",
"eslint-plugin-react": "7.10.0",
"jquery": "3.3.1",
"mocha": "5.2.0",
"mocha-chrome": "1.1.0",
"supervisor": "0.12.0",
"uglify-es": "3.3.9",
"watch": "1.0.2",
"watchify": "3.11.0"
},
"babel": {
"presets": [
"react",
"es2015"
],
"plugins": [
"transform-object-rest-spread",
[
"transform-class-properties",
{
"spec": true
}
]
]
},
"browserify": {
"transform": [
"babelify"
]
},
"scripts": {
"autoprefixer": "postcss --use autoprefixer --autoprefixer.browsers '> 1%,last 4 versions, Firefox ESR, iOS 7, iOS 8, not ie <= 11' .generated/styles.css -d .generated",
"minify-css": "cssnano --safe < .generated/styles.css > .generated/styles.min.css && mv .generated/styles.min.css .generated/styles.css",
"build-css": "mkdir -p .generated && cat app/styles/*.css > .generated/styles.css",
"build-js": "browserify --entry app/client.js | uglifyjs --compress --mangle -o .generated/bundle.js",
"build": "npm run build-css && npm run autoprefixer && npm run minify-css && npm run build-js",
"postinstall": "npm run build",
"watch-css": "watch \"npm run build-css\" app/styles/",
"watch-js": "watchify app/client.js --debug -o .generated/bundle.js -v",
"watch": "npm run watch-js & npm run watch-css & supervisor --quiet --ignore node_modules --watch app app/bootstrap.js",
"start": "node app/bootstrap.js",
"init-db": "pushd db && ./database.sh init && popd",
"start-db": "pushd db && ./database.sh start && popd",
"stop-db": "pushd db && ./database.sh stop && popd",
"lint": "eslint --cache --report-unused-disable-directives 'app/**/*.js' 'test/unit/*.js' 'test/util/*.js' 'test/specs/*.js' 'test/page/*.js' --fix",
"clean": "rm .generated/*.js .generated/*.css",
"integration-test": "mocha-chrome http://localhost:8080/test/runner.html",
"test-unit": "mocha --require babel-register test/unit/*Spec.js",
"test": "node test/integrationTest.js && npm run test-unit"
}
}