Skip to content

Commit 3d1e354

Browse files
authored
refactor: remove commit hooks (#6060)
1 parent 1e3766f commit 3d1e354

File tree

2 files changed

+15
-250
lines changed

2 files changed

+15
-250
lines changed

package.json

+3-17
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@
4949
"eslint": "^8.12.0",
5050
"grapesjs-cli": "^4.1.3",
5151
"html-entities": "^1.4.0",
52-
"husky": "^2.7.0",
5352
"jest": "^24.9.0",
54-
"lint-staged": "^8.2.1",
5553
"npm-run-all": "^4.1.5",
5654
"prettier": "^2.4.1",
5755
"sass": "^1.42.1",
@@ -83,13 +81,6 @@
8381
}
8482
}
8583
},
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-
},
9384
"jest": {
9485
"moduleFileExtensions": [
9586
"js",
@@ -107,11 +98,6 @@
10798
"<rootDir>/test/setup.js"
10899
]
109100
},
110-
"husky": {
111-
"hooks": {
112-
"pre-commit": "lint-staged"
113-
}
114-
},
115101
"scripts": {
116102
"docs": "vuepress dev docs",
117103
"docs:api": "node docs/api.js",
@@ -123,10 +109,10 @@
123109
"lint:ts": "tsc --noEmit",
124110
"build": "npm run check && npm run build-all && npm run ts:check",
125111
"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\"",
128114
"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",
130116
"ts:check": "tsc --noEmit --esModuleInterop dist/index.d.ts",
131117
"ts:build:check": "npm run ts:build && npm run ts:check",
132118
"start": "run-p start:*",

0 commit comments

Comments
 (0)