mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
chore(build): run build before deploy
This commit is contained in:
@ -28,23 +28,23 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "stencil build --docs",
|
"build": "stencil build --docs",
|
||||||
"tsc": "./node_modules/.bin/tsc -p .",
|
"clean": "rm -rf dist",
|
||||||
|
"deploy": "npm run build && np --any-branch",
|
||||||
"dev": "sd concurrent \"stencil build --dev --watch --docs\" \"stencil-dev-server\"",
|
"dev": "sd concurrent \"stencil build --dev --watch --docs\" \"stencil-dev-server\"",
|
||||||
"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",
|
||||||
|
"sass-lint": "sass-lint -v -q",
|
||||||
"snapshot": "node ./scripts/e2e --snapshot",
|
"snapshot": "node ./scripts/e2e --snapshot",
|
||||||
"test": "jest --no-cache",
|
"test": "jest --no-cache",
|
||||||
"test.watch": "jest --watch --no-cache",
|
"test.watch": "jest --watch --no-cache",
|
||||||
"clean": "rm -rf dist",
|
|
||||||
"lint": "npm run tslint & npm run sass-lint",
|
|
||||||
"sass-lint": "sass-lint -v -q",
|
|
||||||
"theme-app-build": "stencil build --dev --config scripts/theme-builder/stencil.config.js",
|
"theme-app-build": "stencil build --dev --config scripts/theme-builder/stencil.config.js",
|
||||||
"theme-server": "node scripts/theme-builder/server.js",
|
|
||||||
"theme-builder": "npm run theme-app-build && sd concurrent \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
|
"theme-builder": "npm run theme-app-build && sd concurrent \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
|
||||||
|
"theme-server": "node scripts/theme-builder/server.js",
|
||||||
"tslint": "tslint --project .",
|
"tslint": "tslint --project .",
|
||||||
"tslint-fix": "tslint --project . --fix",
|
"tslint-fix": "tslint --project . --fix",
|
||||||
"validate": "npm run clean && npm run lint && npm run test && npm run build",
|
"validate": "npm run clean && npm run lint && npm run test && npm run build",
|
||||||
"deploy": "np --any-branch",
|
"tsc": "./node_modules/.bin/tsc -p .",
|
||||||
"version": "npm run build"
|
"version": "npm run build"
|
||||||
},
|
},
|
||||||
"author": "Ionic Team",
|
"author": "Ionic Team",
|
||||||
|
Reference in New Issue
Block a user