Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.93 KB
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
{
"name": "microcms-typegen",
"version": "1.0.0",
"description": "Generate TypeScript content types from microCMS Management API schemas",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/microcmsio/microcms-ts-typegen.git"
},
"type": "module",
"types": "./dist/config.d.ts",
"exports": {
".": {
"types": "./dist/config.d.ts"
}
},
"bin": {
"microcms-typegen": "./dist/cli.js"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"build": "tsc --project tsconfig.build.json",
"pretest": "npm run build",
"pretest:types": "npm run build",
"prepack": "npm run build",
"test": "node --test test/*.test.js",
"test:types": "node scripts/check-typescript.mjs",
"test:package": "node scripts/check-package.mjs",
"typegen": "npm run build && node ./dist/cli.js generate",
"typegen:check": "npm run build && node ./dist/cli.js check",
"test:performance": "npm run build && node scripts/check-type-performance.mjs",
"lint": "oxlint ./src ./test ./scripts ./examples ./microcms-typegen.config.example.ts",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --check ./src ./test ./scripts ./examples ./microcms-typegen.config.example.ts ./package.json ./tsconfig*.json ./.github ./.oxlintrc.json ./.prettierrc ./.c8rc.json",
"format:fix": "prettier --write ./src ./test ./scripts ./examples ./microcms-typegen.config.example.ts ./package.json ./tsconfig*.json ./.github ./.oxlintrc.json ./.prettierrc ./.c8rc.json",
"pretest:coverage": "npm run build -- --inlineSourceMap",
"test:coverage": "c8 node --test test/*.test.js"
},
"devDependencies": {
"@types/node": "^22.20.5",
"c8": "^12.0.0",
"oxlint": "^1.85.0",
"prettier": "^3.9.6",
"typescript": "^7.0.2"
},
"engines": {
"node": ">=22.18"
},
"files": [
"dist",
"microcms-typegen.config.example.ts"
]
}