-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.01 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.01 KB
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
{
"name": "maprules",
"version": "0.0.1",
"description": "custom osm preset and validation api",
"main": "index.js",
"scripts": {
"build": "node build.js",
"dev": "NODE_ENV=development npm run start",
"fixture": "npm run migrate && npm run seed",
"lint": "eslint . --ext .js",
"makeapidocs": "apidoc -f maprules.docs.js && apidoc-markdown2 -p doc -o maprules.apidocs.md",
"makedocs": "npm run makeapidocs && npm run makespec && npm run makerules",
"makerules": "rm -rf ./rules && generate-md --layout mixu-page --input maprules.validation.scenarios.md --output rules && mv rules/maprules.validation.scenarios.html rules/index.html",
"makespec": "rm -rf ./spec && generate-md --layout mixu-radar --input maprules.spec.md --output spec && mv spec/maprules.spec.html spec/index.html",
"migrate": "knex migrate:latest",
"prod": "npm run makedocs && pm2 start process.yml --env production",
"seed": "knex seed:run",
"seed:special": "node ./special/index.js",
"start": "nodemon index.js",
"stop": "pm2 stop process.yml",
"test": "NODE_ENV=testing npm run lint && npm run test:coverage",
"test:unit": "NODE_ENV=testing mocha test/**/* --exit",
"test:coverage": "NODE_ENV=testing nyc -s --check-coverage --lines 95 --functions 95 yarn test:unit",
"test:report": "NODE_ENV=testing nyc --check-coverage --lines 95 --functions 95 yarn test:unit",
"test:fixture": "NODE_ENV=testing npm run fixture && npm run test:unit",
"debug:pm2": "pm2 start \"maprules\" --node-args=\"--debug=7000\" --env development"
},
"repository": {
"type": "git",
"url": "git+https://github.com/radiant-maxar/maprules.git"
},
"author": "MapRules Contributors",
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/radiant-maxar/maprules/issues"
},
"homepage": "https://github.com/radiant-maxar/maprules#readme",
"nyc": {
"include": [
"adapters/**/*",
"routes/**/*",
"handlers/**/*",
"schemas/**/*"
]
},
"dependencies": {
"@hapi/boom": "^7.4.2",
"@hapi/hapi": "^18.3.1",
"@hapi/inert": "^5.2.0",
"@hapi/joi": "^15.0.3",
"@hapi/yar": "^9.2.0",
"apidoc": "^0.17.6",
"apidoc-markdown2": "^0.3.6",
"babel": "^6.23.0",
"bluebird": "^3.5.2",
"dayjs": "^1.8.14",
"id-area-keys": "^2.11.0",
"jsonwebtoken": "^8.5.1",
"knex": "^0.16.5",
"mapcss-parse": "github:radiant-maxar/mapcss-parse#develop",
"markdown-generator": "^1.1.0",
"markdown-styles": "^3.1.10",
"nock": "^10.0.6",
"path": "^0.12.7",
"pm2": "^2.10.3",
"request": "^2.88.0",
"sqlite3": "^4.0.8",
"uuid": "^3.2.1",
"xml2js": "^0.4.19",
"xmlbuilder": "^9.0.7"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"chai": "^4.1.2",
"chai-xml": "^0.3.2",
"colors": "^1.3.2",
"d3-request": "^1.0.6",
"eslint": "^4.19.1",
"fs-extra": "^5.0.0",
"inject-then": "^2.0.9",
"knex-migrate": "^1.7.2",
"mocha": "^5.2.0",
"nodemon": "^1.17.3",
"nyc": "^12.0.2"
}
}