-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 4.42 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "webtask-micro-service",
"description": "A serverless microservice that allows subscribers to listen upon uniform events filtered by their own interests.",
"author": "Lucas Oliveira <contato@devlucas.eti.br>",
"license": "MIT",
"version": "0.0.1",
"main": "build/dist/webtask-micro-service.js",
"repository": {
"type": "git",
"url": "git+https://github.com/devlucas/webtask-micro-service.git"
},
"homepage": "https://github.com/devlucas/webtask-micro-service#readme",
"bugs": {
"url": "https://github.com/devlucas/webtask-micro-service/issues"
},
"keywords": [
"express",
"webtask",
"auth0",
"webhook"
],
"scripts": {
"clean": "rimraf build",
"build": "npm run clean && babel src -d build",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test": "standard && cross-env NODE_ENV=test nyc mocha --recursive tests/unit",
"test:all": "npm test && npm run test:integration",
"test:integration": "npm run build && npm run build:compile:integration && node build/tests/integration/runner.js",
"start": "npm run test && npm run start:skip:tests",
"start:skip:tests": "npm run build && babel server.js -o build/server.js && node build/server.js",
"deploy": "npm run test && npm run deploy:skip:tests",
"deploy:skip:tests": "npm run build && npm run build:bundle && wt create build/dist/webtask-micro-service.js --secrets-file prod.env",
"build:static": "cp-file package.json build/dist/package.json",
"build:bundle": "npm run build:compile:webtask && webpack --config build/webpack.config.js",
"build:compile:integration": "mkdir -p build/tests/integration && npm run build:compile:integration:runner && npm run build:compile:integration:stubs && npm run build:static:integration",
"build:compile:integration:runner": "babel tests/integration/runner.js -o build/tests/integration/runner.js",
"build:compile:integration:stubs": "babel tests/integration/stubs.js -o build/tests/integration/stubs.js",
"build:compile:webtask": "babel webpack.config.js -o build/webpack.config.js && babel webtask-micro-service.js -o build/webtask-micro-service.js && npm run build:static",
"build:static:integration": "npm run build:static:integration:env && npm run build:static:integration:collection",
"build:static:integration:env": "cp-file tests/integration/test.postman_environment.json build/tests/integration/test.postman_environment.json",
"build:static:integration:collection": "cp-file tests/integration/integration.postman_collection.json build/tests/integration/integration.postman_collection.json"
},
"dependencies": {
"async-middleware": "^1.2.1",
"babel-polyfill": "^6.23.0",
"body-parser": "^1.17.2",
"express": "^4.15.3",
"express-jwt": "^5.3.0",
"express-jwt-authz": "^1.0.0",
"express-validator": "^3.2.1",
"helmet": "^3.6.1",
"jwks-rsa": "^1.2.0",
"request": "^2.81.0",
"request-promise": "^4.2.1",
"webtask-tools": "^3.2.0"
},
"devDependencies": {
"async": "^2.5.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-root-import": "^5.1.0",
"babel-plugin-wildcard": "^2.1.0",
"babel-preset-env": "^1.5.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-register": "^6.24.1",
"chai": "^4.0.2",
"coveralls": "^2.13.1",
"cp-file-cli": "^1.0.1",
"cross-env": "^5.0.1",
"dotenv": "^4.0.0",
"mocha": "^3.4.2",
"newman": "^3.7.4",
"nsp": "^2.6.3",
"nyc": "^11.0.3",
"rimraf": "^2.6.1",
"sinon": "^2.3.6",
"standard": "^10.0.2",
"webpack": "^3.0.0",
"webpack-node-externals": "^1.6.0",
"wt-cli": "^6.1.1"
},
"nyc": {
"require": [
"babel-register"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": false,
"instrument": false
},
"babel": {
"presets": [
"es2015",
"es2017",
[
"env",
{
"targets": {
"node": true
}
}
]
],
"plugins": [
"wildcard",
[
"babel-plugin-root-import",
[
{
"rootPathSuffix": "src",
"rootPathPrefix": "@"
},
{
"rootPathSuffix": ".",
"rootPathPrefix": "~"
}
]
]
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
}
}