-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
82 lines (82 loc) · 2.6 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
{
"name": "tongits-server",
"version": "0.0.1-alpha.1",
"description": "Server API for Tong-its",
"main": "dist/server.js",
"scripts": {
"prebuild": "rimraf dist",
"build": "babel src -d dist",
"build:db": "docker pull mongo",
"prepare": "npm run build",
"serve": "node dist/server.js",
"start": "npm run build && npm run serve",
"start:db": "docker run -it -p 27017:27017 --name tong-its-db mongo",
"test": "run-p test:flow test:lint test:unit",
"test:flow": "flow check",
"test:lint": "npm run test:lint-one -- .",
"test:lint-one": "eslint --ext .js --ignore-path .gitignore",
"test:unit": "npm run test:unit-one -- 'test/**/*.spec.js'",
"test:unit-one": "mocha -r @babel/register ./test/setup.js",
"coverage": "run-p coverage:flow coverage:unit",
"coverage:flow": "flow-coverage-report -i 'src/**/*.js' -i 'test/**/*.js' -t html -t text -o ./coverage/flow",
"coverage:unit": "BABEL_ENV=test nyc npm run test:unit",
"create-id": "node -p 'const { ObjectId } = require(\"mongoose\").Types; new ObjectId();'"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/panganibanpj/tongits-server.git"
},
"author": "panganibanpj@gmail.com (PJ Panganiban)",
"license": "MIT",
"bugs": {
"url": "https://github.com/panganibanpj/tongits-server/issues"
},
"homepage": "https://github.com/panganibanpj/tongits-server#readme",
"dependencies": {
"express": "^4.16.3",
"lodash": "^4.17.10",
"mongoose": "^5.2.5"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.54",
"@babel/core": "^7.0.0-beta.54",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.55",
"@babel/preset-flow": "^7.0.0-beta.54",
"@babel/register": "^7.0.0-beta.55",
"babel-eslint": "^8.2.6",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"chai": "^4.1.2",
"eslint": "^5.2.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-flow": "^2.29.1",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.13.0",
"flow-bin": "^0.77.0",
"flow-coverage-report": "^0.5.0",
"mocha": "^5.2.0",
"mongodb-memory-server": "^1.9.1",
"npm-run-all": "^4.1.3",
"nyc": "^12.0.2",
"rimraf": "^2.6.2",
"sinon": "^6.1.4"
},
"nyc": {
"all": true,
"include": [
"src/**"
],
"exclude": [
"src/constants/**",
"src/models/schemas/**",
"src/types/**"
],
"reporter": [
"lcov",
"text"
],
"skipEmpty": true,
"sourceMap": false
}
}