mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved portability of lint scripts (#1612)
* Double quote globs since single quotes don't work on all shells * Drop `find` and just use a glob pattern; `find` is a nix utility while this works everywhere
This commit is contained in:
parent
65796a5893
commit
314e88af6b
@ -27,8 +27,8 @@
|
|||||||
"build": "npm run clean && npx webpack --mode production",
|
"build": "npm run clean && npx webpack --mode production",
|
||||||
"clean": "npx rimraf material",
|
"clean": "npx rimraf material",
|
||||||
"lint": "npm run lint:ts && npm run lint:scss",
|
"lint": "npm run lint:ts && npm run lint:scss",
|
||||||
"lint:scss": "npx stylelint `find src/assets -name *.scss`",
|
"lint:scss": "npx stylelint \"src/assets/**/*.scss\"",
|
||||||
"lint:ts": "npx tslint -p tsconfig.json 'src/**/*.ts'",
|
"lint:ts": "npx tslint -p tsconfig.json \"src/**/*.ts\"",
|
||||||
"start": "npx webpack --mode development --watch"
|
"start": "npx webpack --mode development --watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user