-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.35 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
{
"name": "somnus",
"description": "Minimal, database-agnostic REST API Framework based on Restify",
"version": "11.0.0",
"main": "lib/somnus.js",
"types": "lib/somnus.d.ts",
"scripts": {
"lint": "eslint 'src/**/*.ts'",
"prebuild:prod": "npm run lint",
"prebuild": "npm run lint",
"pretest": "npm run lint",
"build:prod": "./scripts/build.sh",
"build": "NODE_ENV=development ./scripts/build.sh",
"test:base": "mocha --require ts-node/register --file test/setup.js -R spec test/**/*.ts test/*.ts",
"test:src": "TARGET_DIST_BUILD=false npm run test:base",
"test:dist": "TARGET_DIST_BUILD=true npm run test:base",
"test": "./scripts/test.sh",
"prepublishOnly": "npm i; npm run build:prod; npm test",
"local-pack": "npm run build:prod && npm pack",
"start": "npm run example:helloworld:ts",
"example:helloworld:ts": "./scripts/run-example.js helloworld-ts",
"example:helloworld:js": "./scripts/run-example.js helloworld-js",
"example:unixsocket": "./scripts/run-example.js unix-socket"
},
"dependencies": {
"bunyan": "^1.8.15",
"gracefulize": "^1.0.0",
"restify": "^11.1.0",
"restify-errors": "^8.0.2"
},
"optionalDependencies": {
"unit-http": "^1.30.0"
},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@babel/register": "^7.22.5",
"@types/bunyan": "^1.8.8",
"@types/mocha": "^10.0.1",
"@types/restify": "^8.5.7",
"@types/restify-errors": "^4.3.5",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.5.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">= 18"
},
"repository": {
"type": "git",
"url": "https://github.com/somnusjs/somnus"
},
"bugs": {
"url": "https://github.com/somnusjs/somnus/issues",
"email": "[email protected]"
},
"author": "Khang Dinh <[email protected]>",
"license": "MIT",
"keywords": [
"somnus",
"api",
"web",
"rest",
"framework",
"restify"
]
}