mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore: update scripts to use pnpm
This commit is contained in:
@ -6,11 +6,11 @@
|
||||
"test.spec": "jest",
|
||||
"eslint": "eslint src",
|
||||
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
||||
"lint": "npm run eslint && npm run prettier -- --write --cache",
|
||||
"lint.fix": "npm run eslint -- --fix && npm 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": "npm run clean && npm run bundle",
|
||||
"build.watch": "npm run bundle -- --watch",
|
||||
"build": "pnpm run clean && pnpm run bundle",
|
||||
"build.watch": "pnpm run bundle -- --watch",
|
||||
"clean": "rimraf dist"
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
|
||||
Reference in New Issue
Block a user