forked from xdan/jodit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) · 4.87 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
{
"name": "jodit",
"version": "3.5.4",
"description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
"main": "build/jodit.min.js",
"types": "index.d.ts",
"typings": "index.d.ts",
"scripts": {
"newversion": "npm run lint && npm test && npm version patch --no-git-tag-version && npm run build && npm run newversiongit && npm publish ./",
"newversiongit": "git add --all && git commit -m \"New version $npm_package_version. Read more https://github.com/xdan/jodit/blob/master/CHANGELOG.MD \" && git tag $npm_package_version && git push --tags origin HEAD:master",
"start": "node server.js --port=2000",
"clean": "rm -rf build/*",
"build": "npm run clean && gulp build && npm run build-es5 && npm run build-es2018 && npm run build-es2018-en && npm run build-no-uglify-es5 && npm run build-no-uglify-es2018 && npm run build-no-uglify-es2018-en",
"build-es5": "node ./build.js --progress --mode production --es es5 --uglify true",
"build-es2018": "node ./build.js --progress --mode production --es es2018 --uglify true",
"build-es2018-en": "node ./build.js --progress --mode production --es es2018 --excludeLangs true --uglify true",
"build-no-uglify-es5": "node ./build.js --progress --mode production --es es5 --uglify false",
"build-no-uglify-es2018": "node ./build.js --progress --mode production --es es2018 --uglify false",
"build-no-uglify-es2018-en": "node ./build.js --progress --mode production --es es2018 --excludeLangs true --uglify false",
"test": "npm run build-no-uglify-es5 && karma start --browsers FirefoxHeadless karma.conf.js",
"test-debug": "karma start --browsers Chrome karma.conf.js --single-run false",
"test-chrome": "karma start --browsers Chrome karma.conf.js",
"jodit": "cd ../jodit-react/ && npm update && npm run newversion && cd ../jodit-angular/ && npm run newversion && cd ../jodit-joomla && npm run newversion && cd ../jodit-docs && npm run newversion && cd ../jodit-master && npm run newversion",
"types": "rm -rf types/* && tsc --project . --declaration --outDir types --emitDeclarationOnly",
"pretty": "npx prettier --write ./src/*.{ts,less} ./src/**/*.{ts,less} ./src/**/**/*.{ts,less} ./src/**/**/**/*.{ts,less} ./src/**/**/**/**/*.{ts,less}",
"fix": "npx eslint ./src/* ./test/ --fix && npm run pretty",
"lint": "npx eslint ./src/* ./test/ && stylelint ./src/**/*.less"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xdan/jodit.git"
},
"keywords": [
"wysiwyg",
"editor",
"rich",
"jodit"
],
"author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/xdan/jodit/issues"
},
"homepage": "https://xdsoft.net/jodit/",
"dependencies": {
"autobind-decorator": "^2.4.0"
},
"devDependencies": {
"@types/ace": "^0.0.44",
"@types/es6-promise": "^3.3.0",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"autoprefixer": "^10.1.0",
"chai": "^4.2.0",
"classlist-polyfill": "^1.2.0",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"css-minimizer-webpack-plugin": "^1.1.5",
"cssnano-preset-advanced": "^4.0.7",
"es6-promise": "^4.2.8",
"eslint": "^7.15.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-header": "^3.1.0",
"express": "^4.17.1",
"file-loader": "^6.2.0",
"gulp": "^4.0.2",
"gulp-imagemin": "^7.1.0",
"gulp-less": "^4.0.1",
"husky": "^4.3.6",
"karma": "^5.2.3",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.0",
"karma-mocha": "^2.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0-alpha.5",
"less": "^3.13.1",
"less-loader": "^7.1.0",
"lint-staged": "^10.5.3",
"merge-stream": "^2.0.0",
"mini-css-extract-plugin": "^1.3.3",
"mocha": "^8.2.1",
"postcss": "^8.2.1",
"postcss-css-variables": "^0.17.0",
"postcss-loader": "^4.1.0",
"prettier": "^2.2.1",
"raw-loader": "^4.0.2",
"style-loader": "^2.0.0",
"stylelint": "^13.8.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-prettier": "^1.1.2",
"synchronous-promise": "^2.0.15",
"terser-webpack-plugin": "^5.0.3",
"ts-loader": "^8.0.12",
"ts-private-uglifier": "^1.0.2",
"tslib": "^2.0.3",
"typescript": "^4.1.3",
"url-loader": "^4.1.1",
"webpack": "^5.11.0",
"webpack-cli": "^4.2.0",
"webpack-dev-middleware": "^4.0.2",
"webpack-dev-server": "^3.11.0",
"webpack-hot-middleware": "^2.25.0",
"webpack-stream": "^6.1.1",
"yargs": "^16.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint"
}
},
"lint-staged": {
"./test/**/*.{js}": [
"prettier --write --ignore-path ./build/*",
"git add"
],
"*.{json,less}": [
"prettier --write --ignore-path ./build/*",
"git add"
],
"*.{ts}": [
"eslint ./src",
"prettier --write",
"git add"
]
}
}