forked from didi/LogicFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 4.86 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
{
"name": "logicflow",
"private": true,
"description": "A highly scalable, execution-oriented, professional flowchart editing library.",
"scripts": {
"preinstall": "npx only-allow pnpm",
"lint:ts": "eslint '**/src/**/*.{js,ts}?(x)' --cache --fix",
"prettier": "prettier --write '**/*.{js,mjs,jsx,tsx,ts,less,md,json}'",
"pretty-quick": "pretty-quick",
"build": "turbo run build --filter=./packages/*",
"build:cjs": "turbo run build:cjs --filter=./packages/*",
"build:esm": "turbo run build:esm --filter=./packages/*",
"build:umd": "turbo run build:umd --filter=./packages/*",
"build:dev": "turbo run build:dev --filter=./packages/*",
"build:vercel": "sh scripts/build-docs",
"clean": "run-s clean:build clean:turbo clean:modules",
"clean:turbo": "pnpm -r --if-present --parallel --filter=./packages/* run clean:turbo",
"clean:build": "pnpm -r --if-present --parallel --filter=./packages/* run clean",
"clean:modules": "pnpm -r --parallel exec rimraf node_modules && rimraf node_modules",
"update:deps": "pnpm update --interactive --latest --recursive",
"start": "cd ./examples/feature-examples && pnpm start",
"test": "jest",
"changeset": "changeset",
"changeset:version": "changeset version",
"publish:only": "changeset publish --registry=https://registry.npmjs.org",
"setup:husky": "husky install .husky",
"prepare": "is-ci || run-p setup:husky build"
},
"rss": {
"test": "jest",
"clean:turbo": "rimraf .turbo",
"clean:build": "rimraf dist es lib",
"clean": "run-p clean:**",
"build:less": {
"file": "./scripts/build-less"
},
"build:esm": "tsc --module esnext --target es6 --outDir ./es",
"build:cjs": "tsc --module commonjs --target es6 --outDir ./lib",
"build:umd": "pnpm run --if-present build:less && rollup -c ../../rollup.config.js --bundleConfigAsCjs",
"build:dev": "pnpm run --if-present build:less && run-p -s build:cjs build:esm",
"build:watch": "run-p -s build:less build:watch:esm build:watch:cjs",
"build:watch:esm": "run-s -s \"build:esm -w\"",
"build:watch:cjs": "run-s -s \"build:cjs -w\"",
"build": "run-p -s build:dev build:umd",
"prebuild": "run-s -s clean:build"
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"*.less": [
"stylelint --customSyntax postcss-less --fix"
],
"*.js": [
"prettier --write"
],
"*.ts?(x)": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"keywords": [
"LogicFlow",
"Flow Chart",
"BPMN"
],
"author": "Logicflow-Team",
"license": "Apache-2.0",
"dependencies": {
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@babel/core": "^7.22.8",
"@babel/plugin-proposal-decorators": "^7.22.10",
"@babel/plugin-transform-class-properties": "^7.24.6",
"@babel/plugin-transform-react-jsx": "^7.22.5",
"@babel/preset-env": "^7.22.7",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.22.5",
"@changesets/cli": "^2.27.6",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@jest/globals": "^29.6.4",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^23.0.5",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^10.0.1",
"@types/jest": "^29.5.5",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.4.4",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.0.0",
"boxen": "^7.0.0",
"colors": "^1.4.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"fs-extra": "^11.1.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"jest": "^29.6.4",
"less": "^4.1.1",
"lint-staged": "^14.0.1",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.5",
"postcss-import": "^16.1.0",
"postcss-less": "^6.0.0",
"prettier": "^3.0.2",
"pretty-quick": "^3.1.3",
"rimraf": "^5.0.7",
"rollup": "^4.21.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"run-shared-scripts": "^1.1.5",
"stylelint": "^15.10.3",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^34.0.0",
"stylelint-order": "^6.0.3",
"ts-jest": "^29.1.1",
"tslib": "^2.6.1",
"turbo": "^2.0.9",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=16.0.0",
"pnpm": ">=9.0.0"
},
"packageManager": "[email protected]"
}