-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.64 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": "email-gateway",
"version": "1.0.0",
"description": "Incoming email gateway",
"author": "Staffan Näse",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/OpusCapita/email-gateway"
},
"bugs": {
"url": "https://github.com/OpusCapita/email-gateway/issues"
},
"homepage": "https://github.com/OpusCapita/email-gateway",
"nyc": {
"exclude": [
"test"
]
},
"dependencies": {
"@opuscapita/config": "^3.0.16",
"@opuscapita/db-init": "^2.0.24",
"@opuscapita/kafka-client": "^1.0.10",
"@opuscapita/logger": "^1.0.11",
"@opuscapita/web-init": "^3.0.87"
},
"devDependencies": {
"@opuscapita/service-base-ui": "^2.0.0",
"jsdoc-to-markdown": "^4.0.1",
"mocha": "^3.2.0",
"mocha-junit-reporter": "^1.12.1",
"nodemon": "^1.11.0",
"nyc": "^10.2.2",
"raml-to-markdown": "^1.2.6",
"rimraf": "^2.6.0",
"sequelize-to-markdown": "^1.2.6",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^0.28.11",
"less": "2.7.2",
"less-loader": "^4.1.0",
"prop-types": "^15.7.2",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-router": "^3.2.1",
"react-table": "^6.8.6",
"style-loader": "^0.19.0",
"webpack": "^3.12.0"
},
"scripts": {
"start": "node src/server/index.js",
"dev": "npm run setup ; npx nodemon --watch src/server src/server/index.js",
"dev:production": "npm run setup ; NODE_ENV=production npm start",
"local": "npm run setup ; npx nodemon --watch src/server local/index.js",
"perf": "npm run clean ; npm run setup ; node --perf-basic-prof src/server/index.js",
"test": "npm run clean ; npm run setup ; npx nyc mocha --recursive --exit --timeout 50000 -R mocha-junit-reporter",
"test-raw": "npm run clean ; npm run setup ; npx nyc mocha --exit --timeout 50000 --recursive",
"clean": "npx rimraf .nyc_output coverage test-results.xml",
"setup": "bash setup-consul.sh",
"rest-doc": "mkdir -p wiki/rest-doc ; npx raml2md -o file-per-resource -p wiki/rest-doc --output-ext=.endpoint.md rest-doc/main.raml",
"domain-doc": "mkdir -p wiki/domain-doc ; npx sq2md -o file-per-src -p wiki/domain-doc --init=init --field-bl=createdAt,updatedAt --output-ext=.model.md src/server/db/models",
"api-doc": "mkdir -p wiki/api-doc ; npx jsdoc2md -f $(find src/server) > wiki/api-doc/Home.md",
"doc": "npm run rest-doc ; npm run domain-doc ; npm run api-doc"
}
}