mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
chore(lint): update lint tasks
This commit is contained in:
@ -57,9 +57,11 @@
|
|||||||
"devapp": "sd concurrent \"stencil build --dev --watch --docs\" \"stencil-dev-server --broadcast\"",
|
"devapp": "sd concurrent \"stencil build --dev --watch --docs\" \"stencil-dev-server --broadcast\"",
|
||||||
"e2e": "node ./scripts/e2e",
|
"e2e": "node ./scripts/e2e",
|
||||||
"e2e-debug": "node --inspect --debug-brk ./scripts/e2e",
|
"e2e-debug": "node --inspect --debug-brk ./scripts/e2e",
|
||||||
"lint": "npm run tslint && npm run sass-lint",
|
"lint": "npm run lint.ts & npm run lint.sass",
|
||||||
|
"lint.sass": "sass-lint -v -q",
|
||||||
|
"lint.ts": "tslint --project .",
|
||||||
|
"lint.ts.fix": "tslint --project . --fix",
|
||||||
"prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next",
|
"prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next",
|
||||||
"sass-lint": "sass-lint -v -q",
|
|
||||||
"set.version": "node scripts/set-version.js",
|
"set.version": "node scripts/set-version.js",
|
||||||
"snapshot": "node ./scripts/e2e --snapshot",
|
"snapshot": "node ./scripts/e2e --snapshot",
|
||||||
"test": "jest --no-cache",
|
"test": "jest --no-cache",
|
||||||
@ -69,8 +71,6 @@
|
|||||||
"theme-builder:dev": "sd concurrent \"npm run theme-app-build -- --watch\" \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
|
"theme-builder:dev": "sd concurrent \"npm run theme-app-build -- --watch\" \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
|
||||||
"theme-server": "node scripts/theme-builder/server.js",
|
"theme-server": "node scripts/theme-builder/server.js",
|
||||||
"tsc": "./node_modules/.bin/tsc -p .",
|
"tsc": "./node_modules/.bin/tsc -p .",
|
||||||
"tslint": "tslint --project .",
|
|
||||||
"tslint-fix": "tslint --project . --fix",
|
|
||||||
"validate": "npm i && npm run lint && npm run test && npm run build"
|
"validate": "npm i && npm run lint && npm run test && npm run build"
|
||||||
},
|
},
|
||||||
"author": "Ionic Team",
|
"author": "Ionic Team",
|
||||||
|
Reference in New Issue
Block a user