mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 13:38:22 +01:00
Split format from lint
This commit is contained in:
parent
5338b84bf6
commit
4505a248a3
@ -17,9 +17,12 @@
|
||||
"build:js": "tsc && esbuild ./src/ts/app.ts --outfile=./assets/js/app.min.js --bundle --format=iife --global-name=Formwork --target=es6 --minify",
|
||||
"watch:css": "yarn build:css --watch",
|
||||
"watch:js": "yarn build:js --watch",
|
||||
"format": "yarn format:css && yarn format:ts",
|
||||
"format:css": "prettier './src/scss/**/*.scss' --write",
|
||||
"format:ts": "prettier './src/ts/**/*.ts' --write",
|
||||
"lint": "yarn lint:css && yarn lint:ts",
|
||||
"lint:css": "prettier './src/scss/**/*.scss' --write && stylelint './src/scss/**/*.scss' --fix",
|
||||
"lint:ts": "prettier './src/ts/**/*.ts' --write && eslint './src/ts/**/*.ts' --fix"
|
||||
"lint:css": "stylelint './src/scss/**/*.scss' --fix",
|
||||
"lint:ts": "eslint './src/ts/**/*.ts' --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/commands": "^6.7.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user