|
49 | 49 | "eslint": "^8.12.0",
|
50 | 50 | "grapesjs-cli": "^4.1.3",
|
51 | 51 | "html-entities": "^1.4.0",
|
52 |
| - "husky": "^2.7.0", |
53 | 52 | "jest": "^24.9.0",
|
54 |
| - "lint-staged": "^8.2.1", |
55 | 53 | "npm-run-all": "^4.1.5",
|
56 | 54 | "prettier": "^2.4.1",
|
57 | 55 | "sass": "^1.42.1",
|
|
83 | 81 | }
|
84 | 82 | }
|
85 | 83 | },
|
86 |
| - "lint-staged": { |
87 |
| - "{src,test}/**/*.(t|j)s": [ |
88 |
| - "eslint --ext .ts,.js --fix", |
89 |
| - "prettier --single-quote --print-width 120 --arrow-parens avoid --write", |
90 |
| - "git add" |
91 |
| - ] |
92 |
| - }, |
93 | 84 | "jest": {
|
94 | 85 | "moduleFileExtensions": [
|
95 | 86 | "js",
|
|
107 | 98 | "<rootDir>/test/setup.js"
|
108 | 99 | ]
|
109 | 100 | },
|
110 |
| - "husky": { |
111 |
| - "hooks": { |
112 |
| - "pre-commit": "lint-staged" |
113 |
| - } |
114 |
| - }, |
115 | 101 | "scripts": {
|
116 | 102 | "docs": "vuepress dev docs",
|
117 | 103 | "docs:api": "node docs/api.js",
|
|
123 | 109 | "lint:ts": "tsc --noEmit",
|
124 | 110 | "build": "npm run check && npm run build-all && npm run ts:check",
|
125 | 111 | "build-all": "run-s build:*",
|
126 |
| - "build:js": "grapesjs-cli build --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"", |
127 |
| - "build:mjs": "BUILD_MODULE=true grapesjs-cli build --dts='skip' --patch=0 --targets=\"> 1%, ie 11, safari 8, not dead\"", |
| 112 | + "build:js": "grapesjs-cli build --patch=false --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"", |
| 113 | + "build:mjs": "BUILD_MODULE=true grapesjs-cli build --dts='skip' --patch=false --targets=\"> 1%, ie 11, safari 8, not dead\"", |
128 | 114 | "build:css": "sass src/styles/scss/main.scss dist/css/grapes.min.css --no-source-map --style=compressed --load-path=node_modules",
|
129 |
| - "ts:build": "grapesjs-cli build --dts='only' --patch=0", |
| 115 | + "ts:build": "grapesjs-cli build --dts='only' --patch=false", |
130 | 116 | "ts:check": "tsc --noEmit --esModuleInterop dist/index.d.ts",
|
131 | 117 | "ts:build:check": "npm run ts:build && npm run ts:check",
|
132 | 118 | "start": "run-p start:*",
|
|
0 commit comments