-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
143 lines (143 loc) · 4.53 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@seada/lowcode-code-generator",
"version": "1.0.4",
"description": "出码引擎 for LowCode Engine",
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"typings": "types/index.d.ts",
"files": [
"bin",
"lib",
"es",
"demo",
"dist",
"types",
"standalone",
"standalone-worker",
"standalone-loader",
"loader",
"README.md",
"example-schema.json"
],
"bin": {
"lowcode-code-generator": "bin/lowcode-code-generator.js"
},
"scripts": {
"start": "jest --watchAll",
"build": "npm run clean && node scripts/build",
"build:standalone": "node scripts/build-standalone",
"clean": "rimraf es lib dist types generated demo coverage output test-cases/*/*/actual",
"lint": "eslint --ext .jsx,.js,.ts,.tsx src/",
"lintfix": "eslint --ext .jsx,.js,.ts,.tsx --fix src/",
"check:types": "tsc --noEmit",
"template": "node ./scripts/build-template-static-files.js",
"test": "npm run test:normal && npm run test:standalone",
"test:normal": "jest",
"test:standalone": "node scripts/test-standalone",
"test:cov": "jest --coverage",
"test:update-snapshots": "cross-env UPDATE_EXPECTED=true jest -u",
"analyze:standalone": "ANALYZE=true node scripts/build-standalone",
"release:beta": "standard-version -t @seada/lowcode-code-generator\\@ -r patch --prerelease beta && git push --follow-tags && npm publish --tag beta",
"release:patch": "standard-version -t @seada/lowcode-code-generator\\@ -r patch && git push --follow-tags && npm publish",
"release:minor": "standard-version -t @seada/lowcode-code-generator\\@ -r minor && git push --follow-tags && npm publish",
"prepublishOnly": "npm run build",
"ice:demo": "node bin/lowcode-code-generator.js -i example-schema.json -o demo -s icejs",
"demo": "rimraf demo & ts-node src/bin/lowcode-code-generator.ts -i example-schema.json -o demo -s umi",
"watch": "tsc --watch",
"ts-watch": "tsc-watch --onSuccess \"node ./scripts/yalc.js\"",
"prepare": "husky install"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": "eslint --fix"
},
"dependencies": {
"@alilc/lowcode-types": "^1.0.0",
"@babel/generator": "^7.12.11",
"@babel/parser": "^7.12.11",
"@babel/runtime": "^7.12.5",
"@babel/traverse": "^7.12.12",
"@babel/types": "^7.12.12",
"@types/debug": "^4.1.7",
"@types/fs-extra": "^9.0.12",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.162",
"@types/node-fetch": "2.x",
"@types/qs": "^6.9.6",
"@types/semver": "^7.3.4",
"buffer": "^6.0.3",
"chalk": "^4.1.0",
"change-case": "^3.1.0",
"commander": "^6.1.0",
"debug": "^4.3.2",
"fp-ts": "^2.11.9",
"fs-extra": "9.x",
"glob": "^7.2.0",
"html-entities": "^2.3.2",
"json5": "^2.2.0",
"jsonc": "^2.0.0",
"jszip": "^3.5.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"mock-fs": "^5.1.2",
"moment": "^2.29.1",
"nanomatch": "^1.2.13",
"node-fetch": "2.x",
"path-browserify": "^1.0.1",
"prettier": "^2.5.1",
"qs": "^6.10.1",
"semver": "^7.3.4",
"short-uuid": "^3.1.1",
"tslib": "^2.3.1"
},
"browser": {
"path": "path-browserify",
"lodash": "lodash-es",
"prettier": "prettier/standalone"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@iceworks/spec": "^1.4.2",
"@types/babel__generator": "^7.6.4",
"@types/babel__traverse": "^7.11.0",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.162",
"@types/node": "^14.14.20",
"@types/prettier": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"concurrently": "^6.5.1",
"cross-env": "^7.0.3",
"esbuild": "^0.14.5",
"esbuild-plugin-alias": "^0.2.1",
"esbuild-plugin-ignore": "^1.1.0",
"esbuild-visualizer": "^0.3.1",
"eslint": "^7.17.0",
"eslint-config-ali": "^11.4.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"execa": "^6.1.0",
"gulp": "^4.0.2",
"husky": "^8.0.0",
"jest": "^27.4.7",
"jest-util": "^27.4.2",
"lint-staged": "^13.0.3",
"rimraf": "^3.0.2",
"standard-version": "^9.1.1",
"ts-jest": "^27.1.3",
"ts-loader": "^6.2.2",
"ts-node": "^8.10.2",
"tsc-watch": "^5.0.3",
"tsconfig-paths": "^3.9.0",
"typescript": "4.x",
"yargs-parser": "^20.2.9"
},
"engines": {
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
}
}