-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
61 lines (61 loc) · 2.03 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": "conjure-lite",
"version": "0.4.4",
"license": "Apache-2.0",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"bin": {
"conjure-lite": "./dist/conjure-lite.mjs"
},
"files": [
"package.json",
"dist"
],
"scripts": {
"build": "pkgroll --target=node18",
"check:api": "api-extractor run",
"check:attw": "attw --pack",
"check:format": "dprint check",
"check": "pnpm run prepack && pnpm run check:format && pnpm run check:api && pnpm run check:attw",
"clean": "rm -rf lib tsconfig.tsbuildinfo dist",
"format": "dprint fmt",
"generateExamples": "rm -rf examples/widget/src/generated examples/widget/lib examples/widget/tsconfig.tsbuildinfo && ./dist/conjure-lite.mjs generate --ir examples/widget/ir.json --outDir examples/widget/src/generated --header '/* sample header */' && pnpm run format && tsc --build examples/widget",
"prepack": "pnpm run clean && pnpm run build && pnpm run generateExamples && pnpm run format",
"prepare": "husky"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@changesets/cli": "^2.27.7",
"@microsoft/api-extractor": "^7.47.6",
"@types/node": "^20.14.10",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"conjure-api": "^4.48.0",
"dedent": "^1.5.3",
"dprint": "^0.47.2",
"eslint": "^8.57.0",
"husky": "^9.1.4",
"lint-staged": "^15.2.10",
"pkgroll": "^2.4.2",
"typescript": "^5.6.3",
"vitest": "^2.0.5",
"yargs": "^17.7.2"
},
"dependencies": {},
"packageManager": "[email protected]+sha512.f6d863130973207cb7a336d6b439a242a26ac8068077df530d6a86069419853dc1ffe64029ec594a9c505a3a410d19643c870aba6776330f5cfddcf10a9c1617",
"type": "module"
}