mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
use pnpm commands
This commit is contained in:
@ -16,8 +16,8 @@
|
|||||||
"prerender": "ng run test-app:prerender",
|
"prerender": "ng run test-app:prerender",
|
||||||
"cy.open": "cypress open",
|
"cy.open": "cypress open",
|
||||||
"cy.run": "cypress run",
|
"cy.run": "cypress run",
|
||||||
"test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first",
|
"test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first",
|
||||||
"test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first"
|
"test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^14.1.0",
|
"@angular/animations": "^14.1.0",
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
"prerender": "ng run test-app:prerender",
|
"prerender": "ng run test-app:prerender",
|
||||||
"cy.open": "cypress open",
|
"cy.open": "cypress open",
|
||||||
"cy.run": "cypress run",
|
"cy.run": "cypress run",
|
||||||
"test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first",
|
"test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first",
|
||||||
"test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first"
|
"test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^15.0.0",
|
"@angular/animations": "^15.0.0",
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
"prerender": "ng run test-app:prerender",
|
"prerender": "ng run test-app:prerender",
|
||||||
"cy.open": "cypress open",
|
"cy.open": "cypress open",
|
||||||
"cy.run": "cypress run",
|
"cy.run": "cypress run",
|
||||||
"test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first",
|
"test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first",
|
||||||
"test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first"
|
"test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^16.0.0",
|
"@angular/animations": "^16.0.0",
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
"prerender": "ng run test-app:prerender",
|
"prerender": "ng run test-app:prerender",
|
||||||
"cy.open": "cypress open",
|
"cy.open": "cypress open",
|
||||||
"cy.run": "cypress run",
|
"cy.run": "cypress run",
|
||||||
"test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first",
|
"test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first",
|
||||||
"test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first"
|
"test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^17.0.2",
|
"@angular/animations": "^17.0.2",
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"test": "cypress open",
|
"test": "cypress open",
|
||||||
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
|
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
|
||||||
"cypress.open": "cypress open",
|
"cypress.open": "cypress open",
|
||||||
"e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && npm run cypress\" --kill-others --success first",
|
"e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && pnpm run cypress\" --kill-others --success first",
|
||||||
"sync": "sh ./scripts/sync.sh"
|
"sync": "sh ./scripts/sync.sh"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"sync": "sh ./scripts/sync.sh",
|
"sync": "sh ./scripts/sync.sh",
|
||||||
"cypress": "cypress run --headless --browser chrome",
|
"cypress": "cypress run --headless --browser chrome",
|
||||||
"cypress.open": "cypress open",
|
"cypress.open": "cypress open",
|
||||||
"e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && npm run cypress\" --kill-others --success first"
|
"e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && pnpm run cypress\" --kill-others --success first"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
"sync": "sh ./scripts/sync.sh",
|
"sync": "sh ./scripts/sync.sh",
|
||||||
"cypress": "cypress run --headless --browser chrome",
|
"cypress": "cypress run --headless --browser chrome",
|
||||||
"cypress.open": "cypress open",
|
"cypress.open": "cypress open",
|
||||||
"e2e": "concurrently \"serve -s dist -l 3000\" \"wait-on http-get://localhost:3000 && npm run cypress\" --kill-others --success first"
|
"e2e": "concurrently \"serve -s dist -l 3000\" \"wait-on http-get://localhost:3000 && pnpm run cypress\" --kill-others --success first"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@testing-library/jest-dom": "^5.16.5",
|
"@testing-library/jest-dom": "^5.16.5",
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"test:unit": "vitest",
|
"test:unit": "vitest",
|
||||||
"test:e2e": "concurrently \"npm run build && npm run serve\" \"wait-on http-get://localhost:8080 && npm run cypress\" --kill-others --success first",
|
"test:e2e": "concurrently \"pnpm run build && pnpm run serve\" \"wait-on http-get://localhost:8080 && pnpm run cypress\" --kill-others --success first",
|
||||||
"lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore --fix src",
|
"lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore --fix src",
|
||||||
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
|
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
|
||||||
"cypress.open": "cypress open",
|
"cypress.open": "cypress open",
|
||||||
"start": "npm run dev",
|
"start": "pnpm run dev",
|
||||||
"sync": "sh ./scripts/sync.sh"
|
"sync": "sh ./scripts/sync.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Reference in New Issue
Block a user