forked from serafin-labs/schema-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 2.13 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
{
"name": "@serafin/schema-builder",
"version": "0.18.17",
"description": "A Typescript JSON Schema library that creates a schema and its type at the same time",
"main": "./lib/cjs/index.js",
"exports": "./lib/cjs/index.js",
"types": "./lib/cjs/index.d.ts",
"contributors": [
{
"name": "Sébastien de Saint Florent"
},
{
"name": "Nicolas Degardin"
}
],
"keywords": [
"json-schema",
"typescript",
"openapi"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/serafin-labs/schema-builder"
},
"dependencies": {
"ajv": "^8.13.0",
"ajv-formats": "^3.0.1",
"lodash": "^4.17.21",
"verror": "^1.10.1"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^4.3.16",
"@types/lodash": "^4.17.1",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.11",
"@types/verror": "^1.10.10",
"chai": "^5.1.1",
"concurrently": "^8.2.2",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"ts-lint": "^4.5.1",
"tslint-config-airbnb": "^5.11.2",
"tsx": "^4.10.2",
"typescript": "^5.4.5"
},
"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"
}
}