-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
94 lines (94 loc) · 3.05 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
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "loopback4-migration",
"version": "1.3.0",
"description": "LoopBack 4 Migration Component",
"keywords": [
"loopback-4",
"loopback-extension",
"migration",
"database",
"upgrade",
"downgrade"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=12"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "lb-tsc --copy-resources",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write",
"eslint": "lb-eslint --report-unused-disable-directives .",
"eslint:fix": "npm run eslint -- --fix",
"pretest": "npm run clean && npm run build",
"test": "lb-mocha --allow-console-logs \"dist/__tests__\"",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js",
"test:ci": "lb-nyc -r lcov -r text npm run test:dev",
"test:coverage": "lb-nyc npm run test",
"test:visualize": "npm run test -- --reporter mochawesome --reporter-options reportDir=coverage",
"test:report": "npm run test:coverage && npm run test:visualize",
"test:coveralls": "lb-nyc npm test && lb-nyc report --reporter=text-lcov | coveralls",
"test:mongodb": "npm i -D loopback-connector-mongodb && env DATASOURCE=mongodb npm test",
"test:mysql": "npm i -D loopback-connector-mysql@6.2.0 && env DATASOURCE=mysql npm test",
"test:postgresql": "npm i -D loopback-connector-postgresql && env DATASOURCE=postgresql npm test",
"prepublishOnly": "npm test",
"verify": "npm run build && npm pack && lb-clean loopback4-migration*.tgz",
"prepack": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/nflaig/loopback4-migration"
},
"bugs": {
"url": "https://github.com/nflaig/loopback4-migration/issues"
},
"homepage": "https://github.com/nflaig/loopback4-migration#readme",
"author": "Nico Flaig <nflaig@protonmail.com>",
"license": "MIT",
"files": [
"dist",
"src",
"!*/__tests__"
],
"peerDependencies": {
"@loopback/boot": "*",
"@loopback/context": "*",
"@loopback/core": "*",
"@loopback/repository": "*"
},
"dependencies": {
"compare-versions": "^4.1.3",
"debug": "^4.3.4"
},
"devDependencies": {
"@loopback/boot": "4.1.2",
"@loopback/build": "8.1.2",
"@loopback/context": "4.1.2",
"@loopback/core": "3.1.2",
"@loopback/eslint-config": "12.0.4",
"@loopback/repository": "4.1.2",
"@loopback/testlab": "4.1.2",
"@types/node": "17.0.24",
"coveralls": "3.1.1",
"eslint": "8.13.0",
"husky": "4.3.7",
"mochawesome": "7.1.3",
"source-map-support": "0.5.21",
"ts-node": "10.7.0",
"typescript": "4.6.3"
},
"husky": {
"hooks": {
"pre-commit": "npm test && npm run lint"
}
}
}