-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.36 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
{
"name": "it340-full",
"version": "1.0.0",
"description": "",
"main": "dist/srv/server.js",
"engines": {
"node": ">=6"
},
"dependencies": {
"axios": "^0.17.0",
"express": "^4.16.2",
"mongodb": "^2.2.33",
"multer": "^1.3.0",
"pug": "^2.0.0-rc.4"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-istanbul": "^4.1.5",
"babel-preset-env": "^1.6.0",
"casper-chai": "^0.3.0",
"casperjs": "^1.1.4",
"chai": "^4.1.2",
"copy-webpack-plugin": "^4.1.1",
"eslint": "^4.9.0",
"mocha": "^4.0.1",
"mocha-casperjs": "^0.6.0",
"nyc": "^11.3.0",
"spectacle-docs": "^0.9.11",
"webpack": "^3.7.1",
"webpack-node-externals": "^1.6.0"
},
"scripts": {
"build-source": "./node_modules/.bin/webpack",
"build-doc": "./node_modules/.bin/spectacle doc/circuit.yaml -t dist/doc",
"build": "npm run build-source && npm run build-doc",
"clean": "rm -rf dist/",
"run-debug": "MONGO=mongodb://localhost:27017/it340-full API=http://localhost:8080 node dist/srv/server.js",
"run-docker": "MONGO=mongodb://mongo:27017/it340-full API=http://nodejs:8080 node dist/srv/server.js",
"run-heroku": "node dist/srv/server.js",
"start": "npm run build-source && npm run run-heroku",
"test-coverage": "NODE_ENV=test nyc mocha test/unit/*.js",
"test-unit": "./node_modules/.bin/mocha ./dist/test/unit.js",
"test-validation": "./node_modules/.bin/mocha-casperjs ./dist/test/validation.js",
"test-lint": "./node_modules/.bin/eslint .",
"test": "npm run test-lint && npm run test-unit && npm run test-validation",
"docker-up": "docker-compose -f docker/docker-compose.yml --project-directory . build nodejs && docker-compose -f docker/docker-compose.yml --project-directory . up -d",
"docker-down": "docker-compose -f docker/docker-compose.yml --project-directory . down"
},
"nyc": {
"require": [
"babel-register"
],
"reporter": [
"text",
"lcov"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/EnseirbTelecom/it340-full.git"
},
"author": "Jean-Rémy Falleri-Vialard",
"license": "ISC",
"bugs": {
"url": "https://github.com/EnseirbTelecom/it340-full/issues"
},
"homepage": "https://github.com/EnseirbTelecom/it340-full#readme"
}