-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.43 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
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@micro-lc/middleware",
"version": "3.3.3",
"description": "micro-lc configuration server",
"license": "Apache-2.0",
"bin": "./dist/cli/index.js",
"files": [
"dist",
"sdk",
"package.json"
],
"exports": {
"./sdk": {
"import": "./dist/esm/sdk/index.js",
"types": "./dist/types/sdk/index.d.ts",
"require": "./dist/sdk/index.js"
}
},
"scripts": {
"_postinstall": "husky install",
"cleanup": "rimraf .nyc_output coverage dist node_modules",
"make-types": "node ./scripts/make-types.mjs",
"lint": "eslint ./src --ext .ts",
"check-types": "tsc --noEmit",
"test": "mocha src/**/test/**/*.test.ts",
"test:cli": "mocha test/**/*.test.ts",
"coverage": "nyc mocha src/**/test/**/*.test.ts",
"clean": "rimraf dist",
"build:server": "tsc --project ./scripts/tsconfig.build.json && echo \"✔ server compiled successfully\"",
"build:cli": "node ./scripts/build-cli.mjs",
"build:sdk-types": "tsc --project ./scripts/tsconfig.types.json",
"build:sdk-esm": "tsc --project ./scripts/tsconfig.esm.json",
"build:sdk": "run-p build:sdk-types build:sdk-esm && echo \"✔ sdk compiled successfully\"",
"build:all": "run-p build:server build:cli build:sdk",
"build": "run-s make-types build:all",
"bump": "node ./scripts/version.mjs",
"start": "lc39 dist/server.js",
"start:local": "NODE_ENV=development npm run start -- --env-path .env.local --log-level trace --port 3001",
"cli": "ts-node ./src/cli",
"_prepublish": "pinst --disable"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.7.2",
"@fastify/accepts": "^4.3.0",
"@mia-platform/custom-plugin-lib": "^6.0.3",
"ajv": "^8.17.1",
"commander": "^11.1.0",
"fast-json-patch": "^3.1.1",
"glob": "^10.4.5",
"js-yaml": "^4.1.0",
"jsonpath-plus": "^10.1.0",
"lodash.clonedeepwith": "^4.5.0",
"lodash.get": "^4.4.2",
"mkdirp": "^3.0.1",
"quickjs-emscripten": "^0.29.2"
},
"devDependencies": {
"@fastify/static": "^6.12.0",
"@mia-platform/lc39": "^7.1.0",
"@micro-lc/interfaces": "^1.1.0",
"@micro-lc/layout": "^2.2.0",
"@types/chai": "^4.3.20",
"@types/chai-as-promised": "^7.1.8",
"@types/glob": "^8.1.0",
"@types/js-yaml": "^4.0.9",
"@types/lodash.clonedeepwith": "^4.5.9",
"@types/lodash.get": "^4.4.9",
"@types/mocha": "^10.0.9",
"@types/node": "^20.17.0",
"@types/sinon": "^17.0.3",
"@types/temp": "^0.9.4",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"confusing-browser-globals": "^1.0.11",
"dotenv": "^16.4.5",
"esbuild": "^0.20.2",
"eslint": "^8.57.1",
"eslint-config-esnext": "^4.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"eslint-visitor-keys": "^3.4.3",
"fastify": "^4.28.1",
"husky": "^8.0.3",
"json-schema-to-ts": "^3.1.1",
"json-schema-to-typescript": "^14.1.0",
"mocha": "^10.7.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pinst": "^3.0.0",
"rimraf": "^5.0.10",
"sinon": "^18.0.1",
"temp": "^0.9.4",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=20"
},
"resolutions": {
"json5": "^2.2.3"
}
}