-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
66 lines (66 loc) · 3.1 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
{
"name": "slack-moderator",
"version": "0.4.1",
"main": "app.js",
"bin": "app.js",
"scripts": {
"ngrok": "ngrok http 3000",
"start": "npm-run-all --parallel lint:watch server:watch",
"server": "./bin/run.sh",
"server:watch": "nodemon --quiet --watch . --exec npm run server",
"test": "mocha --require @babel/register --reporter mocha-multi-reporters --reporter-options configFile=test/config.json --recursive",
"test:watch": "npm run test -- --watch --watch-extensions 'js'",
"lint": "esw src",
"lint:watch": "npm run lint -- --watch",
"clean": "rm -rf ./dist",
"current-version": "node -e 'console.log(process.env.npm_package_version + (process.env.BUILD_VERSION ? `.${process.env.BUILD_VERSION}` : ``))'",
"next-build-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${split[0]}.${split[1]}.${parseInt(split[2]) + 1}`)'",
"next-minor-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${split[0]}.${parseInt(split[1]) + 1}.0`)'",
"next-major-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${parseInt(split[0]) + 1}.0.0`)'",
"build-version-commit": "npm version `npm run --silent next-build-version` --force -a",
"minor-version-commit": "npm version `npm run --silent next-minor-version` --force -a",
"major-version-commit": "npm version `npm run --silent next-major-version` --force -a",
"prebuild": "npm run clean && npm-run-all --parallel test lint",
"build": "npm-run-all build:src build:app build:copy-package build:copy-files build:package build:rules:resources",
"build:src": "babel src -d ./dist/package/src",
"build:app": "babel app.js -d ./dist/package/",
"build:package": "babel-node ./tools/create-package.js",
"build:copy-package": "cp package-lock.json ./dist/package/",
"build:copy-files": "cp README.md LICENSE.md ./dist/package/",
"build:prod:config": "babel config/production.js -d ./dist/package/config",
"build:dev:config": "babel config/development.js -d ./dist/package/config",
"build:rules:config": "babel config/rules.js -d ./dist/package/config",
"build:rules:resources": "babel resources -d ./dist/package/resources"
},
"dependencies": {
"body-parser": "^1.18.3",
"bunyan": "^1.8.12",
"colors": "^1.3.3",
"cookie-parser": "~1.4.3",
"express": "^4.16.4",
"native-injects": "^2.0.0",
"natural": "^0.6.3",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"yargs": "^12.0.5"
},
"devDependencies": {
"eslint": "^4.16.0",
"ngrok": "^3.1.1",
"nodemon": "^1.18.9",
"npm-run-all": "^4.1.5",
"@babel/cli": "^7.0.0-beta.38",
"@babel/core": "^7.0.0-beta.38",
"@babel/node": "^7.0.0-beta.38",
"@babel/polyfill": "^7.0.0-beta.38",
"@babel/preset-env": "^7.0.0-beta.38",
"@babel/register": "^7.0.0-beta.38",
"babel-eslint": "^8.2.1",
"eslint-watch": "^3.1.3",
"expect": "^21.2.1",
"mocha": "^5.0.0",
"mocha-junit-reporter": "^1.16.0",
"mocha-multi-reporters": "^1.1.7",
"rimraf": "^2.6.2"
}
}