UNPKG

npm-boilerplater

Version:

Boilerplate for coding, linting, testing, debugging and publishing npm module

84 lines (83 loc) 2.3 kB
{ "name": "npm-boilerplater", "version": "1.2.0", "description": "Boilerplate for coding, linting, testing, debugging and publishing npm module", "main": "lib/index.js", "types": "index.d.ts", "scripts": { "build": "npm run clean && babel src --out-dir lib --ignore \"src/**/*.spec.js\",\"src/**/*.test.js\"", "clean": "rimraf lib coverage", "cover": "npm run test -- --coverage", "cover:codacy": "npm run cover && cat ./coverage/lcov.info | codacy-coverage", "format": "eslint --max-warnings=0 --fix \"src/**/*.js\" && remark *.md --output", "lint": "eslint --max-warnings=0 \"src/**/*.js\" && remark -f *.md", "prepublishOnly": "npm run clean && npm run format && npm run lint && npm run test && npm run build", "test": "jest --bail --verbose", "test:watch": "npm run test -- --watch" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "eslint --max-warnings=0" ], "*.md": [ "remark -f" ] }, "remarkConfig": { "plugins": [ "remark-preset-lint-recommended" ] }, "repository": { "type": "git", "url": "git+https://github.com/we-code-now/npm-boilerplater.git" }, "keywords": [ "npm", "boilerplate", "lint", "eslint", "prettier", "coverage", "codacy", "ci", "travis", "jest", "test", "debug", "publish" ], "author": "Steven <steven@wecodenow.com>", "license": "MIT", "bugs": { "url": "https://github.com/we-code-now/npm-boilerplater/issues" }, "homepage": "https://github.com/we-code-now/npm-boilerplater#readme", "devDependencies": { "@babel/cli": "^7.5.5", "@babel/core": "^7.5.5", "@babel/plugin-transform-runtime": "^7.5.5", "@babel/preset-env": "^7.5.5", "codacy-coverage": "^3.4.0", "eslint": "^6.1.0", "eslint-config-airbnb": "^18.0.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.14.3", "eslint-plugin-react-hooks": "^2.0.1", "husky": "^3.0.3", "jest": "^24.8.0", "lint-staged": "^9.2.1", "remark-cli": "^7.0.0", "remark-preset-lint-recommended": "^3.0.3", "rimraf": "^3.0.0" }, "dependencies": { "@babel/runtime": "^7.5.5" } }