@dckj-npm/lowcode-code-generator 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +280 -0
- package/CONTRIBUTING.md +40 -0
- package/README.md +123 -0
- package/bin/lowcode-code-generator.js +52 -0
- package/dist/cli.js +11023 -0
- package/dist/cli.js.map +7 -0
- package/dist/standalone-loader.esm.js +99 -0
- package/dist/standalone-loader.esm.js.map +7 -0
- package/dist/standalone-loader.js +125 -0
- package/dist/standalone-loader.js.map +7 -0
- package/example-schema.json +276 -0
- package/example-schema.json5 +276 -0
- package/lib/index.js +10199 -0
- package/lib/index.js.map +7 -0
- package/package.json +155 -0
- package/standalone/index.js +6 -0
- package/standalone/package.json +5 -0
- package/standalone-loader/index.js +2 -0
- package/standalone-loader/package.json +6 -0
- package/standalone-worker/index.js +6 -0
- package/standalone-worker/package.json +5 -0
package/package.json
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dckj-npm/lowcode-code-generator",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "出码引擎 for LowCode Engine(额外添加vue3处理方案)",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"module": "es/index.js",
|
|
8
|
+
"typings": "types/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"bin",
|
|
11
|
+
"lib",
|
|
12
|
+
"es",
|
|
13
|
+
"demo",
|
|
14
|
+
"dist",
|
|
15
|
+
"types",
|
|
16
|
+
"standalone",
|
|
17
|
+
"standalone-worker",
|
|
18
|
+
"standalone-loader",
|
|
19
|
+
"loader",
|
|
20
|
+
"CHANGELOG.md",
|
|
21
|
+
"README.md",
|
|
22
|
+
"CONTRIBUTING.md",
|
|
23
|
+
"example-schema.json",
|
|
24
|
+
"example-schema.json5"
|
|
25
|
+
],
|
|
26
|
+
"bin": {
|
|
27
|
+
"lowcode-code-generator": "bin/lowcode-code-generator.js"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"start": "jest --watchAll",
|
|
31
|
+
"build": "npm run clean && node scripts/build",
|
|
32
|
+
"build:standalone": "node scripts/build-standalone",
|
|
33
|
+
"clean": "rimraf es lib dist types generated demo coverage output test-cases/*/*/actual",
|
|
34
|
+
"lint": "eslint --ext .jsx,.js,.ts,.tsx src/",
|
|
35
|
+
"lintfix": "eslint --ext .jsx,.js,.ts,.tsx --fix src/",
|
|
36
|
+
"check:types": "tsc --noEmit",
|
|
37
|
+
"template": "node ./scripts/build-template-static-files.js",
|
|
38
|
+
"test": "npm run test:normal && npm run test:standalone",
|
|
39
|
+
"test:normal": "jest",
|
|
40
|
+
"test:standalone": "node scripts/test-standalone",
|
|
41
|
+
"test:cov": "jest --coverage",
|
|
42
|
+
"test:update-snapshots": "cross-env UPDATE_EXPECTED=true jest -u",
|
|
43
|
+
"analyze:standalone": "ANALYZE=true node scripts/build-standalone",
|
|
44
|
+
"release:beta": "standard-version -t @alilc/lowcode-code-generator\\@ -r patch --prerelease beta && git push --follow-tags && npm publish --tag beta",
|
|
45
|
+
"release:patch": "standard-version -t @alilc/lowcode-code-generator\\@ -r patch && git push --follow-tags && npm publish",
|
|
46
|
+
"release:minor": "standard-version -t @alilc/lowcode-code-generator\\@ -r minor && git push --follow-tags && npm publish",
|
|
47
|
+
"prepablishOnly": "npm run build",
|
|
48
|
+
"demo": "node bin/lowcode-code-generator.js -i example-schema.json -o demo -s vuejs3"
|
|
49
|
+
},
|
|
50
|
+
"standard-version": {
|
|
51
|
+
"skip": {
|
|
52
|
+
"changelog": true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"husky": {
|
|
56
|
+
"hooks": {
|
|
57
|
+
"pre-commit": "lint-staged",
|
|
58
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"lint-staged": {
|
|
62
|
+
"**/*.{js,jsx,ts,tsx}": "eslint"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@alilc/lowcode-types": "^1.0.0",
|
|
66
|
+
"@babel/generator": "^7.12.11",
|
|
67
|
+
"@babel/parser": "^7.12.11",
|
|
68
|
+
"@babel/runtime": "^7.12.5",
|
|
69
|
+
"@babel/traverse": "^7.12.12",
|
|
70
|
+
"@babel/types": "^7.12.12",
|
|
71
|
+
"@types/debug": "^4.1.7",
|
|
72
|
+
"@types/fs-extra": "^9.0.12",
|
|
73
|
+
"@types/glob": "^7.2.0",
|
|
74
|
+
"@types/lodash": "^4.14.162",
|
|
75
|
+
"@types/node-fetch": "2.x",
|
|
76
|
+
"@types/qs": "^6.9.6",
|
|
77
|
+
"@types/semver": "^7.3.4",
|
|
78
|
+
"buffer": "^6.0.3",
|
|
79
|
+
"chalk": "^4.1.0",
|
|
80
|
+
"change-case": "^3.1.0",
|
|
81
|
+
"commander": "^6.1.0",
|
|
82
|
+
"debug": "^4.3.2",
|
|
83
|
+
"file-saver": "^2.0.5",
|
|
84
|
+
"fp-ts": "^2.11.9",
|
|
85
|
+
"fs-extra": "9.x",
|
|
86
|
+
"glob": "^7.2.0",
|
|
87
|
+
"html-entities": "^2.3.2",
|
|
88
|
+
"json5": "^2.2.0",
|
|
89
|
+
"jsonc": "^2.0.0",
|
|
90
|
+
"jszip": "^3.5.0",
|
|
91
|
+
"lodash": "^4.17.21",
|
|
92
|
+
"lodash-es": "^4.17.21",
|
|
93
|
+
"mock-fs": "^5.1.2",
|
|
94
|
+
"moment": "^2.29.1",
|
|
95
|
+
"nanomatch": "^1.2.13",
|
|
96
|
+
"node-fetch": "2.x",
|
|
97
|
+
"path-browserify": "^1.0.1",
|
|
98
|
+
"prettier": "^2.5.1",
|
|
99
|
+
"qs": "^6.10.1",
|
|
100
|
+
"semver": "^7.3.4",
|
|
101
|
+
"short-uuid": "^3.1.1",
|
|
102
|
+
"babel-jest": "^26.5.2",
|
|
103
|
+
"tslib": "^2.3.1"
|
|
104
|
+
},
|
|
105
|
+
"browser": {
|
|
106
|
+
"path": "path-browserify",
|
|
107
|
+
"lodash": "lodash-es",
|
|
108
|
+
"prettier": "prettier/standalone"
|
|
109
|
+
},
|
|
110
|
+
"devDependencies": {
|
|
111
|
+
"@iceworks/spec": "^1.4.2",
|
|
112
|
+
"@types/babel__traverse": "^7.11.0",
|
|
113
|
+
"@types/file-saver": "^2.0.7",
|
|
114
|
+
"@types/jest": "^27.0.2",
|
|
115
|
+
"@types/lodash": "^4.14.162",
|
|
116
|
+
"@types/node": "^14.14.20",
|
|
117
|
+
"@types/prettier": "^2.4.2",
|
|
118
|
+
"@typescript-eslint/eslint-plugin": "^4.12.0",
|
|
119
|
+
"@typescript-eslint/parser": "^4.12.0",
|
|
120
|
+
"concurrently": "^6.5.1",
|
|
121
|
+
"cross-env": "^7.0.3",
|
|
122
|
+
"esbuild": "^0.14.5",
|
|
123
|
+
"esbuild-plugin-alias": "^0.2.1",
|
|
124
|
+
"esbuild-plugin-ignore": "^1.1.0",
|
|
125
|
+
"esbuild-visualizer": "^0.3.1",
|
|
126
|
+
"eslint": "^7.17.0",
|
|
127
|
+
"eslint-config-ali": "^11.4.1",
|
|
128
|
+
"eslint-plugin-import": "^2.22.1",
|
|
129
|
+
"eslint-plugin-react": "^7.22.0",
|
|
130
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
131
|
+
"jest": "^26.5.2",
|
|
132
|
+
"jest-util": "^27.4.2",
|
|
133
|
+
"rimraf": "^3.0.2",
|
|
134
|
+
"standard-version": "^9.1.1",
|
|
135
|
+
"ts-jest": "^26.5.2",
|
|
136
|
+
"ts-loader": "^6.2.2",
|
|
137
|
+
"ts-node": "^8.10.2",
|
|
138
|
+
"tsconfig-paths": "^3.9.0",
|
|
139
|
+
"typescript": "4.x",
|
|
140
|
+
"yargs-parser": "^20.2.9"
|
|
141
|
+
},
|
|
142
|
+
"engines": {
|
|
143
|
+
"node": ">=10.0.0"
|
|
144
|
+
},
|
|
145
|
+
"publishConfig": {
|
|
146
|
+
"access": "public",
|
|
147
|
+
"registry": "https://registry.npmjs.org/"
|
|
148
|
+
},
|
|
149
|
+
"repository": {
|
|
150
|
+
"type": "http",
|
|
151
|
+
"url": "https://github.com/alibaba/lowcode-engine/tree/main/modules/code-generator"
|
|
152
|
+
},
|
|
153
|
+
"bugs": "https://github.com/alibaba/lowcode-engine/issues",
|
|
154
|
+
"homepage": "https://github.com/alibaba/lowcode-engine/#readme"
|
|
155
|
+
}
|