-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
83 lines (83 loc) · 2.83 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
{
"name": "@serafin/api",
"version": "0.15.0",
"description": "A RESTful self-descriptive API based on Serafin pipelines",
"main": "./lib/cjs/index.js",
"exports": "./lib/cjs/index.js",
"types": "./lib/cjs/index.d.ts",
"contributors": [
{
"name": "Nicolas Degardin",
"email": "[email protected]"
},
{
"name": "Sébastien de Saint Florent",
"email": "[email protected]"
}
],
"keywords": [
"api",
"typescript",
"rest",
"self-descriptive",
"openapi",
"swagger",
"json-hal",
"graphql"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/serafin-labs/api"
},
"dependencies": {
"@serafin/open-api": "^3.0.1",
"@serafin/pipeline": "^0.19.0",
"express": "^4.21.1",
"express-graphql": "^0.6.12",
"graphql": "^0.13.2",
"graphql-type-json": "^0.2.1",
"jsonpointer": "^5.0.1",
"lodash": "^4.17.21",
"verror": "^1.10.1"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.8",
"@types/express": "^4.17.21",
"@types/express-graphql": "^0.6.2",
"@types/graphql": "^0.13.4",
"@types/graphql-type-json": "^0.1.3",
"@types/lodash": "^4.17.1",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.11",
"@types/verror": "^1.10.10",
"body-parser": "^1.20.2",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"chai-http": "^4.4.0",
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^8.2.2",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"source-map-support": "^0.5.21",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"tsx": "^4.10.2"
},
"scripts": {
"test": "NODE_OPTIONS='--import tsx --no-warnings' mocha --recursive ./src/test/**/*.spec.ts",
"predev": "npm install",
"dev": "concurrently -c auto -n '' npm:dev:cjs npm:dev:test",
"dev:cjs": "tsc --watch --preserveWatchOutput --project tsconfig.cjs.json",
"dev:esm": "tsc --watch --preserveWatchOutput",
"dev:test": "NODE_OPTIONS='--import tsx --no-warnings' mocha --reporter dot --watch --watch-files src --extension ts ./src/test/**/*.spec.ts",
"build": "npm run build:cjs",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc",
"fix": "echo '{ \"type\": \"module\" }' > lib/esm/package.json && echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"prepublishOnly": "npm install && rm -rf ./lib && npm run build && npm test"
}
}