1.3.0 • Published 3 years ago
xk-tools v1.3.0
xk-tools
Opinionated & preconfigured tools for lint, format, test & typecheck. \ Powered by eslint, prettier, jest & typescript.
Installation and configuration
You can install it in your project
npm install --save-dev xk-toolsThen, config eslint, prettier, jest or typescript extending from default config:
.eslintrc.js
module.exports = require("./node_modules/xk-tools/eslint.js");.prettierrc.js
module.exports = require("./node_modules/xk-tools/prettier.js");tsconfig.json
{ "extends": "./node_modules/xk-tools/tsc.json" }jest.config.js
module.exports = require("./node_modules/xk-tools/jest.js");Available scripts
- xk-lint-check \
Alias for
eslint $@ - xk-lint \
Alias for
eslint --fix $@ - xk-format-check \
Alias for
prettier -l $@ - xk-format \
Alias for
prettier -w $@ - xk-test \
Alias for
jest $@
Inspiration
Issues
Feel free to report any bug or suggest any new feature at xk-tools Issues
LICENSE
MIT
1.3.0
3 years ago
1.2.10
3 years ago
1.2.9
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago