Follow Chatie DevOps toolset (#1793)
Showing
.eslintrc.js
0 → 100644
... | ... | @@ -21,9 +21,10 @@ |
"changelog": "github_changelog_generator -u chatie -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && sed -i'.bak' '/An in-range update of/d' CHANGELOG.md && ts-node scripts/sort-contributiveness.ts < CHANGELOG.md > CHANGELOG.new.md 2>/dev/null && cat CHANGELOG.md >> CHANGELOG.new.md && mv CHANGELOG.new.md CHANGELOG.md", | ||
"doctor": "npm run check-node-version && ts-node bin/doctor", | ||
"check-node-version": "check-node-version --node \">= 10\"", | ||
"lint": "npm run check-node-version && npm run lint:ts && npm run lint:sh", | ||
"lint": "npm run check-node-version && npm run lint:es && npm run lint:ts && npm run lint:sh", | ||
"lint:es": "eslint --ignore-pattern fixtures/ src/**/*.ts tests/**/*.ts scripts/**/*.ts examples/**/*.ts bin/**/*.ts", | ||
"lint:md": "markdownlint README.md", | ||
"lint:ts": "tslint --project tsconfig.json && tsc --noEmit", | ||
"lint:ts": "tsc --noEmit", | ||
"lint:sh": "bash -n bin/*.sh", | ||
"puppet-install": "ts-node bin/puppet-install.ts", | ||
"sloc": "sloc bin examples scripts src tests --details --format cli-table --keys total,source,comment && sloc bin examples scripts src tests", | ||
... | ... | @@ -93,16 +94,16 @@ |
"qr-image": "^3.2.0", | ||
"raven": "^2.6.2", | ||
"read-pkg-up": "^6.0.0", | ||
"semver": "^6.0.0", | ||
"state-switch": "^0.6.2", | ||
"watchdog": "^0.8.1", | ||
"wechaty-puppet": "^0.15.9", | ||
"ws": "^7.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.0.1", | ||
"@babel/node": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@chatie/tsconfig": "^0.4.2", | ||
"@chatie/eslint-config": "^0.6.5", | ||
"@chatie/git-scripts": "^0.2.1", | ||
"@chatie/tsconfig": "^0.4.5", | ||
"@types/blessed": "^0.1.10", | ||
"@types/blue-tape": "^0.1.0", | ||
"@types/cuid": "^1.3.0", | ||
... | ... | @@ -120,7 +121,6 @@ |
"@types/semver": "^6.0.0", | ||
"@types/sinon": "^7.0.4", | ||
"@types/ws": "^6.0.0", | ||
"@wwwouter/tslint-contrib": "^1.0.0", | ||
"apiai": "^4.0.0", | ||
"blessed": "^0.1.81", | ||
"blessed-contrib": "^4.8.5", | ||
... | ... | @@ -130,7 +130,6 @@ |
"cross-env": "^5.1.6", | ||
"finis": "^0.4.1", | ||
"fluent-ffmpeg": "^2.1.0", | ||
"git-scripts": "git+https://github.com/nkzawa/git-scripts.git", | ||
"gl-matrix": "^3.0.0", | ||
"glob": "^7.1.0", | ||
"is-pr": "^1.0.0", | ||
... | ... | @@ -139,15 +138,11 @@ |
"nyc": "^14.0.0", | ||
"qrcode-terminal": "^0.12.0", | ||
"request": "^2.87.0", | ||
"semver": "^6.0.0", | ||
"shx": "^0.3.0", | ||
"sinon": "^7.2.3", | ||
"sloc": "^0.2.0", | ||
"ts-node": "^8.0.2", | ||
"tslint": "^5.11.0", | ||
"tslint-config-standard": "^8.0.0", | ||
"tstest": "^0.2.4", | ||
"typedoc": "^0.14.0", | ||
"typescript": "^3.4.5", | ||
"wechaty-puppet-mock": "^0.15.5" | ||
}, | ||
"files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955", | ||
... | ... | @@ -162,17 +157,17 @@ |
"dist/src", | ||
"src" | ||
], | ||
"git": { | ||
"scripts": { | ||
"pre-push": "./scripts/pre-push.sh" | ||
} | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"tag": "latest" | ||
"tag": "next" | ||
}, | ||
"collective": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/wechaty" | ||
}, | ||
"git": { | ||
"scripts": { | ||
"pre-push": "npx git-scripts-pre-push" | ||
} | ||
} | ||
} |
scripts/generate-version.sh
0 → 100755
src/version.spec.ts
0 → 100755
src/version.ts
0 → 100644
想要评论请 注册 或 登录