mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: pass flags correctly
This commit is contained in:
@@ -73,32 +73,32 @@
|
||||
"stylelint-order": "^4.1.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run clean && npm run build.css && stencil build --es5 --docs-json dist/docs.json",
|
||||
"build.css": "npm run css.sass && npm run css.minify",
|
||||
"build.debug": "npm run clean && stencil build --debug",
|
||||
"build": "pnpm run clean && pnpm run build.css && stencil build --es5 --docs-json dist/docs.json",
|
||||
"build.css": "pnpm run css.sass && pnpm run css.minify",
|
||||
"build.debug": "pnpm run clean && stencil build --debug",
|
||||
"build.docs.json": "stencil build --docs-json dist/docs.json",
|
||||
"clean": "node scripts/clean.js",
|
||||
"css.minify": "cleancss -O2 -o ./css/ionic.bundle.css ./css/ionic.bundle.css",
|
||||
"css.sass": "sass --embed-sources src/css:./css",
|
||||
"eslint": "eslint src",
|
||||
"lint": "npm run lint.ts && npm run lint.sass && npm run prettier -- --write --cache",
|
||||
"lint.fix": "npm run lint.ts.fix && npm run lint.sass.fix && npm run prettier -- --write --cache",
|
||||
"lint": "pnpm run lint.ts && pnpm run lint.sass && pnpm run prettier --write --cache",
|
||||
"lint.fix": "pnpm run lint.ts.fix && pnpm run lint.sass.fix && pnpm run prettier --write --cache",
|
||||
"lint.sass": "stylelint \"src/**/*.scss\"",
|
||||
"lint.sass.fix": "npm run lint.sass -- --fix",
|
||||
"lint.ts": "npm run eslint",
|
||||
"lint.ts.fix": "npm run eslint -- --fix",
|
||||
"prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next",
|
||||
"lint.sass.fix": "pnpm run lint.sass --fix",
|
||||
"lint.ts": "pnpm run eslint",
|
||||
"lint.ts.fix": "pnpm run eslint --fix",
|
||||
"prerelease": "pnpm run validate && np prerelease --yolo --any-branch --tag next",
|
||||
"prerender.e2e": "node scripts/testing/prerender.js",
|
||||
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
||||
"start": "npm run build.css && stencil build --dev --watch --serve",
|
||||
"test": "npm run test.spec && npm run test.e2e",
|
||||
"start": "pnpm run build.css && stencil build --dev --watch --serve",
|
||||
"test": "pnpm run test.spec && pnpm run test.e2e",
|
||||
"test.spec": "stencil test --spec --max-workers=2",
|
||||
"test.spec.debug": "npx --node-arg=\"--inspect-brk\" stencil test --spec",
|
||||
"test.e2e": "npx playwright test",
|
||||
"test.e2e.update-snapshots": "npm run test.e2e -- --update-snapshots",
|
||||
"test.e2e.update-snapshots": "pnpm run test.e2e --update-snapshots",
|
||||
"test.watch": "jest --watch --no-cache",
|
||||
"test.treeshake": "node scripts/treeshaking.js dist/index.js",
|
||||
"validate": "npm run lint && npm run test && npm run build && npm run test.treeshake"
|
||||
"validate": "pnpm run lint && pnpm run test && pnpm run build && pnpm run test.treeshake"
|
||||
},
|
||||
"author": "Ionic Team",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"test": "echo 'angular no tests yet'",
|
||||
"build": "ng-packagr -p ng-package.json -c tsconfig.json",
|
||||
"build.prod": "pnpm run clean && pnpm run build",
|
||||
"build.watch": "pnpm run build -- --watch",
|
||||
"build.watch": "pnpm run build --watch",
|
||||
"clean": "rm -rf ./dist",
|
||||
"lint": "eslint . --ext .ts && pnpm run prettier",
|
||||
"lint.fix": "eslint . --ext .ts --fix && pnpm run prettier.fix",
|
||||
|
||||
@@ -28,12 +28,12 @@
|
||||
"build.core": "node scripts/build-core.js",
|
||||
"build.link": "pnpm run build && node scripts/link-copy.js",
|
||||
"build.ng": "ng-packagr -p ng-package.json -c tsconfig.json",
|
||||
"build.watch": "pnpm run build.ng -- --watch",
|
||||
"build.watch": "pnpm run build.ng --watch",
|
||||
"clean": "node scripts/clean.js",
|
||||
"clean-generated": "node ./scripts/clean-generated.js",
|
||||
"lint": "pnpm run eslint && pnpm run prettier -- --write --cache",
|
||||
"lint.fix": "pnpm run eslint -- --fix",
|
||||
"fmt": "pnpm run eslint -- --fix && pnpm run prettier -- --write --cache",
|
||||
"lint": "pnpm run eslint && pnpm run prettier --write --cache",
|
||||
"lint.fix": "pnpm run eslint --fix",
|
||||
"fmt": "pnpm run eslint --fix && pnpm run prettier --write --cache",
|
||||
"prettier": "prettier \"**/*.ts\"",
|
||||
"eslint": "eslint . --ext .ts",
|
||||
"prerelease": "pnpm run validate && np prerelease --yolo --any-branch --tag next",
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run clean && pnpm run compile",
|
||||
"build.watch": "pnpm run compile -- --watch",
|
||||
"build.watch": "pnpm run compile --watch",
|
||||
"clean": "rimraf dist",
|
||||
"compile": "rollup -c",
|
||||
"eslint": "eslint src",
|
||||
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
||||
"lint": "pnpm run eslint && pnpm run prettier -- --write --cache",
|
||||
"lint.fix": "pnpm run eslint -- --fix && pnpm run prettier -- --write --cache"
|
||||
"lint": "pnpm run eslint && pnpm run prettier --write --cache",
|
||||
"lint.fix": "pnpm run eslint --fix && pnpm run prettier --write --cache"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/types/index.d.ts",
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run clean && pnpm run copy && pnpm run compile",
|
||||
"build.watch": "pnpm run compile -- --watch",
|
||||
"build.watch": "pnpm run compile --watch",
|
||||
"clean": "rimraf dist && rimraf routing",
|
||||
"compile": "rollup -c",
|
||||
"eslint": "eslint src",
|
||||
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
||||
"lint": "pnpm run eslint && pnpm run prettier -- --write --cache",
|
||||
"lint.fix": "pnpm run eslint -- --fix && pnpm run prettier -- --write --cache",
|
||||
"lint": "pnpm run eslint && pnpm run prettier --write --cache",
|
||||
"lint.fix": "pnpm run eslint --fix && pnpm run prettier --write --cache",
|
||||
"copy": "node scripts/copy.js",
|
||||
"test.spec": "jest --ci",
|
||||
"test.treeshake": "node scripts/treeshaking.js dist/index.esm.js"
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
"test.spec": "jest",
|
||||
"eslint": "eslint src",
|
||||
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
||||
"lint": "pnpm run eslint && pnpm run prettier -- --write --cache",
|
||||
"lint.fix": "pnpm run eslint -- --fix && pnpm run prettier -- --write --cache",
|
||||
"lint": "pnpm run eslint && pnpm run prettier --write --cache",
|
||||
"lint.fix": "pnpm run eslint --fix && pnpm run prettier --write --cache",
|
||||
"bundle": "rollup --config rollup.config.js",
|
||||
"build": "pnpm run clean && pnpm run bundle",
|
||||
"build.watch": "pnpm run bundle -- --watch",
|
||||
"build.watch": "pnpm run bundle --watch",
|
||||
"clean": "rimraf dist"
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
"scripts": {
|
||||
"eslint": "eslint src",
|
||||
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
||||
"lint": "pnpm run eslint && pnpm run prettier -- --write --cache",
|
||||
"lint.fix": "pnpm run eslint -- --fix && pnpm run prettier -- --write --cache",
|
||||
"lint": "pnpm run eslint && pnpm run prettier --write --cache",
|
||||
"lint.fix": "pnpm run eslint --fix && pnpm run prettier --write --cache",
|
||||
"test": "jest",
|
||||
"build": "pnpm run clean && pnpm run copy && pnpm run copy.overlays && pnpm run bundle && pnpm run build.vetur && pnpm run build.web-types",
|
||||
"build.watch": "pnpm run bundle -- --watch",
|
||||
"build.watch": "pnpm run bundle --watch",
|
||||
"bundle": "rollup --config rollup.config.js",
|
||||
"clean": "rimraf dist",
|
||||
"build.web-types": "node ./scripts/build-web-types.js",
|
||||
|
||||
Reference in New Issue
Block a user