Skip to content

Instantly share code, notes, and snippets.

@mmoehrlein
Forked from adamreisnz/package.json
Last active February 19, 2019 14:45
Show Gist options
  • Save mmoehrlein/faa167b7c035162418529553ab01bc27 to your computer and use it in GitHub Desktop.
Save mmoehrlein/faa167b7c035162418529553ab01bc27 to your computer and use it in GitHub Desktop.
package.json template/ standard
{
"name": "projecttemplate",
"description": "",
"version": "1.0.0",
"homepage": "https://moehrlein.io",
"author": "Michael Moehrlein <code@moehrlein.io> (moehrlein.io)",
"license": "ISC",
"keywords": [],
"private": true,
"repository": "github:mmoehrlein/",
"engines": {
"node": ">=8.11.3",
"npm": ">=6.7.0"
},
"main": "index.js",
"scripts": {
"start": "node index.js",
"reinstall": "rimraf node_modules && npm cache clean && npm install",
"lint": "xo --fix",
"coverage": "npm-run-all coverage:*",
"coverage:run": "nyc npm t",
"coverage:check": "nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
"pretest": "npm run lint",
"test": "ava",
"posttest": "",
"test:watch": "npm t -- --watch",
"postversion": "git push && git push --tags",
"lambda:init": "npm i -D node-lambda && node-lambda setup"
},
"dependencies": {
"fs-extra": "^7.0.1",
"nconf": "^0.10.0",
"winston": "^3.2.1"
},
"devDependencies": {
"ava": "^1.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^13.3.0",
"rimraf": "^2.6.3",
"xo": "^0.24.0"
},
"xo": {
"rules": {
"unicorn/filename-case": [
"error",
{
"case": "camelCase"
}
]
}
},
"eslintConfig": {
"parser": "babel-eslint",
"env": {
"node": true,
"es6": true
},
"extends": [
"xo/esnext",
"./node_modules/xo/config/plugins.js"
],
"rules": {
"unicorn/filename-case": [
"error",
{
"case": "camelCase"
}
]
}
},
"nyc": {
"reporter": [
"lcov",
"text",
"html"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment