加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "capacitor",
"private": true,
"scripts": {
"build:nativebridge": "lerna run build:nativebridge",
"sync-peer-dependencies": "node scripts/sync-peer-dependencies.mjs",
"lerna:publish:dev": "lerna publish prerelease --conventional-commits --conventional-prerelease --no-changelog --preid dev-$(git rev-parse --short HEAD) --dist-tag dev --force-publish --no-git-tag-version --no-push",
"lerna:version:rc": "lerna version prerelease --force-publish --preid rc",
"lerna:version:latest": "lerna version --force-publish --conventional-commits",
"lerna:publish:next": "lerna publish from-git --force-publish --dist-tag next --yes",
"lerna:publish:latest": "lerna publish from-git --force-publish --dist-tag latest --yes",
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
"prettier": "prettier \"**/*.{css,html,java,js,mjs,ts}\"",
"eslint": "eslint . --ext ts",
"swiftlint": "node-swiftlint",
"postinstall": "lerna bootstrap",
"release:dev": "lerna run test && lerna run build && npm run lerna:publish:dev",
"release:rc": "npm run lerna:version:rc",
"release:latest": "npm run lerna:version:latest",
"version": "npm run sync-peer-dependencies"
},
"prettier": "@ionic/prettier-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "~1.0.1",
"@ionic/swiftlint-config": "^1.1.2",
"@types/tar": "^4.0.4",
"eslint": "~7.27.0",
"lerna": "^3.22.1",
"prettier": "~2.3.0",
"prettier-plugin-java": "~1.1.1",
"swiftlint": "^1.0.1",
"tar": "^6.0.5"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化