diff --git a/create-umi/package.json b/create-umi/package.json index d10870aa4e55a51ec176974e7fc2c22ff0fb60e1..c526b4ede042ffae004a8179421e3181bc3d1d20 100644 --- a/create-umi/package.json +++ b/create-umi/package.json @@ -13,7 +13,7 @@ "lint:fix": "eslint --fix --ext .js src tests && npm run lint:style && npm run tslint:fix", "lint:js": "eslint --ext .js src tests", "lint:prettier": "check-prettier lint", - "lint:style": "stylelint --fix 'src/**/*.less' --syntax less", + "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", "lint:ts": "tslint -p . -c tslint.yml", "prettier": " check-prettier write", "start": "umi dev", @@ -21,7 +21,7 @@ "test": "umi test", "test:all": "node ./tests/run-tests.js", "test:component": "umi test ./src/components", - "tslint:fix": "tslint --fix 'src/**/*.ts*'", + "tslint:fix": "tslint --fix \"src/**/*.ts*\"", "fetch:blocks": "node ./scripts/fetch-blocks.js" }, "husky": { diff --git a/package.json b/package.json index b1eedcd4ecbec02243513beed4785d3eb2531e25..c9f64282c80d57fa79d514327f6f1d8be0a6f2bb 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "lint:fix": "eslint --fix --ext .js src tests && npm run lint:style && npm run tslint:fix", "lint:js": "eslint --ext .js src tests", "lint:prettier": "check-prettier lint", - "lint:style": "stylelint --fix 'src/**/*.less' --syntax less", + "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", "lint:ts": "tslint -p . -c tslint.yml", "prettier": " check-prettier write", "site": "npm run fetch:blocks && npm run functions:build && umi build", @@ -33,7 +33,7 @@ "test": "umi test", "test:all": "node ./tests/run-tests.js", "test:component": "umi test ./src/components", - "tslint:fix": "tslint --fix 'src/**/*.ts*'" + "tslint:fix": "tslint --fix \"src/**/*.ts*\"" }, "husky": { "hooks": {