forked from Tradenomiliitto/tradenomiitti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.92 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
{
"name": "tradenomiitti",
"version": "1.0.0",
"description": "Löydä elämäsi tradenomi",
"main": "index.js",
"scripts": {
"preansible": "./conf/preinstall.sh",
"serverinstallbase": "./conf/serverinstallbase.sh",
"serverinstallpm2": "ansible-playbook conf/pm2install.yml -i conf/inventory.ini --limit ${ENV_TO_DEPLOY:-dev}",
"compilelocal": "cd frontend && mkdir -p static/images && elm-make --yes Main.elm --output static/elm.js && browserify -t babelify js/main.js --outfile static/main.js && node-sass --precision 8 --include-path ../node_modules/bootstrap-sass/assets/stylesheets -r stylesheets/styles.scss | postcss --use autoprefixer -o static/styles.css && cp assets/* ../node_modules/bootstrap-sass/assets/fonts/bootstrap/* ../node_modules/font-awesome/fonts/* ../conf/assets/* static/ && cp index.html static/",
"start": "node server/index.js",
"compilefrontend": "cd frontend && elm-make --yes Main.elm --output /srv/static/elm.js && browserify -t babelify js/main.js --outfile /srv/static/main.js",
"compilescss": "node-sass --precision 8 --include-path node_modules/bootstrap-sass/assets/stylesheets -r frontend/stylesheets/styles.scss | postcss --use autoprefixer -o /srv/static/styles.css",
"compileassets": "cp frontend/assets/* node_modules/bootstrap-sass/assets/fonts/bootstrap/* node_modules/font-awesome/fonts/* /srv/static/ && ./conf/copy-index-with-ga.sh",
"seed-db": "knex migrate:latest && knex seed:run",
"test": "mocha server/**/*.js",
"testFrontend": "cd frontend && elm-test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/futurice/tradenomiitti.git"
},
"author": "",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/futurice/tradenomiitti/issues"
},
"homepage": "https://github.com/futurice/tradenomiitti#readme",
"dependencies": {
"autocomplete.js": "^0.28.1",
"autoprefixer": "^6.7.7",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.0",
"babelify": "^7.3.0",
"body-parser": "^1.16.0",
"bootstrap-sass": "^3.3.7",
"browserify": "^14.1.0",
"cookie-session": "^2.0.0-alpha.3",
"cropperjs": "^1.0.0-beta.2",
"d3-timer": "^1.0.5",
"elm": "^0.18.0",
"emailjs": "^1.0.8",
"express": "^4.14.1",
"express-fileupload": "^0.1.2",
"file-type": "^4.1.0",
"font-awesome": "^4.7.0",
"gm": "^1.23.0",
"knex": "^0.12.9",
"lodash.groupby": "^4.6.0",
"moment": "^2.18.1",
"node-sass": "^4.5.0",
"node-schedule": "^1.2.1",
"pg": "^6.1.2",
"postcss-cli": "^3.0.0",
"request": "^2.79.0",
"request-promise-native": "^1.0.3",
"scroll-restoration-polyfill": "^0.6.1",
"scss-to-json": "^1.1.0",
"smoothscroll-polyfill": "^0.3.4",
"uuid": "^3.0.1"
},
"devDependencies": {
"chai": "^3.5.0",
"elm-test": "^0.18.2",
"mocha": "^3.2.0",
"mockdate": "^2.0.1",
"seedrandom": "^2.4.2",
"xml2js": "^0.4.17"
}
}