-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.65 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.65 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
{
"name": "@axiosleo/orm-mysql",
"version": "0.14.1",
"description": "MySQL ORM tool",
"keywords": [
"mysql",
"orm"
],
"author": "AxiosLeo",
"directories": {
"lib": "src"
},
"bin": {
"orm-mysql": "./bin/orm-mysql.js"
},
"scripts": {
"lint": "tsc ./index.d.ts && eslint --fix src/",
"test": "mocha --reporter spec --timeout 3000 tests/*.tests.js",
"test-cov": "nyc -r=lcov -r=html -r=text -r=json mocha -t 10000 -R spec tests/*.tests.js",
"test-one": "mocha --reporter spec --timeout 3000 ",
"build": "DEPLOY_ENV=prod bun build ./index.js --compile --outfile dist/orm-mysql",
"feature-test": "node tests/transaction.ft.js",
"setup-feature-db": "node tests/setup-feature-db.js",
"feature-test:local": "docker compose up -d && sleep 10 && npm run setup-feature-db && npm run feature-test && docker compose down",
"ci": "npm run lint && npm run test-cov",
"clear": "rm -rf ./nyc_output ./coverage && rm -rf ./node_modules && npm cache clean --force"
},
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@axiosleo/cli-tool": "^1.6.1",
"mysql2": "^3.9.1",
"validatorjs": "^3.22.1"
},
"repository": {
"type": "git",
"url": "https://github.com/AxiosLeo/node-orm-mysql"
},
"devDependencies": {
"@types/node": "^20.11.46",
"chai": "^5.0.3",
"eslint": "^8.56.0",
"expect.js": "^0.3.1",
"has-flag": "^5.0.1",
"mm": "^3.4.0",
"mocha": "^10.2.0",
"mocha-sinon": "^2.1.2",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"typescript": "^5.3.3"
},
"pre-commit": {
"silent": false,
"run": [
"lint"
]
}
}