-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
/
package.json
110 lines (110 loc) · 3.79 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
{
"name": "@wangeditor-team/wangeditor",
"private": true,
"scripts": {
"test": "cross-env NODE_OPTIONS=--unhandled-rejections=warn jest --detectOpenHandles --passWithNoTests",
"test-c": "cross-env NODE_OPTIONS=--unhandled-rejections=warn jest --coverage",
"dev": "sh build/build-all.sh dev",
"build": "sh build/build-all.sh",
"bootstrap": "lerna bootstrap --use-workspaces",
"release:version": "git pull origin master && lerna version --conventional-commits && node ./scripts/release-tag.js",
"release:publish:experimental": "lerna publish --dist-tag experimental",
"release:publish:canary": "lerna publish --canary",
"release:next": "yarn prerelease && lerna publish --dist-tag next",
"release:publish": "lerna publish from-git --yes",
"release:package": "lerna publish from-package --yes",
"prerelease": "yarn build",
"format": "yarn prettier --write",
"lint": "eslint \"packages/*/+(src|__tests__)/**/*.+(ts|tsx)\"",
"prettier": "prettier --ignore-path .gitignore \"packages/*/+(src|__tests__)/**/*.+(ts|tsx)\"",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"e2e:dev": "concurrently \"yarn example\" \"yarn run cypress:open\"",
"e2e": "concurrently \"yarn example\" \"yarn run cypress:run\"",
"example": "lerna exec --scope @wangeditor/editor -- yarn run example"
},
"workspaces": [
"packages/*"
],
"lint-staged": {
"packages/**/*.{ts,tsx}": [
"yarn lint",
"yarn format",
"git add ."
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@babel/runtime-corejs3": "^7.14.7",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^2.4.2",
"@testing-library/jest-dom": "^5.14.1",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^4.4.1",
"autoprefixer": "^10.2.5",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.0.6",
"babel-plugin-istanbul": "^6.0.0",
"commitlint": "^11.0.0",
"commitlint-config-cz": "^0.13.2",
"concurrently": "^6.2.0",
"conventional-changelog": "^3.1.24",
"cross-env": "^7.0.2",
"cssnano": "^5.0.3",
"cypress": "^8.6.0",
"cz-customizable": "^6.3.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"http-server": "^0.12.3",
"husky": "^4.2.5",
"jest": "^27.0.6",
"lerna": "^3.20.2",
"lerna-changelog": "^1.0.1",
"less": "^3.11.1",
"lint-staged": "^10.2.2",
"lodash": "^4.17.21",
"nock": "^13.2.4",
"nodemon": "^2.0.6",
"postcss": "^8.2.15",
"prettier": "^2.0.5",
"release-it": "^14.2.0",
"rollup": "^2.41.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-generate-html-template": "^1.7.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-visualizer": "^5.5.0",
"ts-jest": "^27.0.4",
"tslib": "^2.3.0",
"typescript": "4.3.2"
},
"dependencies": {
"@babel/runtime": "^7.14.6"
}
}