-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.03 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.03 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "modelize-ts",
"version": "1.2.1",
"description": "一个 TypeScript 数据模型工具库,用于定义、解析、转换和操作数据模型。支持字段映射、类型转换、模型扩展等功能。",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./es/index.js",
"require": "./lib/index.js"
}
},
"scripts": {
"dev": "father dev",
"build": "npm run build:es && npm run build:lib",
"build:es": "father build",
"build:deps": "father prebundle",
"build:lib": "rimraf lib && tsc -p tsconfig.lib.json",
"test": "cross-env TS_NODE_PROJECT='test/tsconfig.test.json' mocha test/**/**.test.ts",
"cover": "nyc --reporter=html npm run test",
"lint": "tsc --noEmit && eslint --ext .js,.ts --fix src test",
"prepublishOnly": "father doctor && npm run build"
},
"mocha": {
"require": [
"ts-node/register",
"tsconfig-paths/register"
],
"ui": "bdd"
},
"repository": {
"type": "git",
"url": "https://github.com/mudoo/modelize.git"
},
"keywords": [
"typescript",
"model",
"data-model",
"mapper",
"parser",
"converter"
],
"authors": [
"mudoo <mudoo@qq.com>"
],
"license": "MIT",
"files": [
"es",
"lib",
"umd"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"@types/node": "^24.5.2",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.52.0",
"chai": "^6.0.1",
"cross-env": "^10.0.0",
"enum-plus": "^3.1.8",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^17.23.1",
"eslint-plugin-promise": "^7.2.1",
"father": "^4.6.6",
"mocha": "^11.7.2",
"nyc": "^17.1.0",
"rimraf": "^6.1.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3"
}
}