-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
82 lines (82 loc) · 2.51 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": "@beardyman/forge",
"version": "0.2.3",
"description": "A utility for deploying migrations for changing system state.",
"private": false,
"publishConfig": {
"access": "public"
},
"main": "index.js",
"type": "module",
"bin": {
"forge": "bin/forge-cli.js"
},
"engines": {
"node": ">=14.0.0"
},
"files": [
"bin",
"controllers",
"lib",
"plugins",
"cli.js",
"index.js"
],
"scripts": {
"lint": "eslint . --fix",
"lint:ci": "eslint .",
"test": "npm run test:unit && npm run test:func",
"test:unit": "cross-env FCI_TEST_TYPE=unit npm run test:covrun --parallel",
"test:func": "cross-env FCI_TEST_TYPE=func npm run test:covrun --parallel",
"test:unitcov": "cross-env c8 --reporter=lcov --reporter=text-summary --report-dir=test/reports/unit mocha --loader=esmock test/unit",
"test:funccov": "cross-env c8 --reporter=lcov --reporter=text-summary --report-dir=test/reports/func mocha --loader=esmock test/func",
"test:covrun": "c8 --reporter=lcov --reporter=text-summary --report-dir=test/reports/$FCI_TEST_TYPE mocha --loader=esmock test/$FCI_TEST_TYPE",
"test:run": "mocha --loader=esmock test/$FCI_TEST_TYPE",
"cov:unit": "cross-env FCI_TEST_TYPE=unit npm run cov:run",
"cov:func": "cross-env FCI_TEST_TYPE=func npm run cov:run",
"cov:run": "open test/reports/$FCI_TEST_TYPE/lcov-report/index.html"
},
"mocha": {
"recursive": true,
"extension": ".spec.js"
},
"keywords": [
"database migrations",
"infrastructure as code"
],
"author": "Jordan Nornhold",
"license": "ISC",
"dependencies": {
"bluebird": "^3.7.2",
"find-up": "^6.2.0",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"pino": "^7.6.3",
"update-notifier": "^6.0.2"
},
"devDependencies": {
"c8": "^7.11.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"dirty-chai": "^2.0.1",
"eslint": "^8.7.0",
"eslint-plugin-jsdoc": "^37.9.4",
"eslint-plugin-mocha": "^10.0.3",
"esmock": "^1.7.2",
"husky": "^7.0.4",
"mocha": "^9.1.4",
"sinon": "^12.0.1",
"sinon-chai": "^3.7.0"
},
"forge": {
"comment": "This is only used for functional tests - logLevel should be reset to 'fatal'",
"logLevel": "fatal",
"migrationStatePlugin": "test/mocks/MockMigrationStatePlugin.js",
"migrationsDirectory": "test/mocks/migrations",
"nodeModule": {
"migrationStatePlugin": "mock-forge-plugin",
"migrationsDirectory": "test/mocks/migrations"
}
}
}