-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.5 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.5 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
{
"name": "@pathcheck/data-layer",
"version": "1.0.5",
"main": "src/index.js",
"description": "Sample data layer for the SafePlaces backend API",
"repository": "git@github.com:Path-Check/safeplaces-data-layer.git",
"license": "MIT",
"scripts": {
"migrate:up": "knex migrate:latest",
"migrate:down": "knex migrate:rollback",
"seed": "knex seed:run --env development",
"seed:test": "knex seed:run --env test",
"lint": "eslint \"**/*.js\"",
"lint:fix": "eslint --fix \"**/*.js\"",
"pretest": "knex migrate:latest && knex seed:run --env test",
"test": "nyc --reporter=html --reporter=text mocha test/**/*.* --exit",
"posttest": "knex seed:run --env development",
"test:unit": "mocha test/unit/*.* --exit",
"test:all": "mocha test/**/*.* --exit",
"format": "prettier --write \"**/*.{js,json,md}\""
},
"files": [
"src/**/*",
"bin/**/*"
],
"bin": {
"spdl": "bin/cli.js"
},
"engines": {
"node": ">=12.14.1"
},
"pre-commit": [
"format",
"lint"
],
"dependencies": {
"bcrypt": "^4.0.1",
"bluebird": "^3.7.2",
"chalk": "^4.1.0",
"commander": "^5.1.0",
"knex": "0.21.1",
"knex-postgis": "0.12.0",
"ngeohash": "^0.6.3",
"pg": "8.2.1",
"uuidv4": "^6.1.1",
"wkx": "^0.5.0"
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^7.0.0",
"eslint-plugin-mocha": "^7.0.1",
"hygen": "^5.0.3",
"mocha": "^7.1.1",
"nyc": "^15.0.1",
"pre-commit": "^1.2.2",
"prettier": "^2.0.5"
}
}