Skip to content

Commit

Permalink
chore: Cleanup package.json (#250)
Browse files Browse the repository at this point in the history
* chore: omit already default values

* chore: rearrange to prioritize more important fields

* chore: remove `npm-check`

We have `greenkeeper` to handle these stuffs
or in Yarn, there is `yarn upgrade-interactive`

* chore: add `maintainers` section

* chore: add additional `test` scripts

* ci: update `script` job

Run `lint` and `test:coverage` scripts

* chore: remove lockfile

* chore: upgrade `consolemock` to v0.2.2

* chore: rearrange npm scripts

* chore(engines): requires node >=v4.2.0

* chore: switch to `husky`

* revert: "ci: update `script` job"

This reverts commit 8441797.

* revert: "chore: add additional `test` scripts"

This reverts commit 8a35fe8.

* chore(scripts): rename `commit` to `cz`

* chore(scripts): add `test:watch`

* chore: move `version` field

* chore: remove irrelevant keywords

* chore: update keywords
  • Loading branch information
luftywiranda13 authored and okonet committed Sep 13, 2017
1 parent 7abe23f commit 0077644
Showing 1 changed file with 39 additions and 48 deletions.
87 changes: 39 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,30 @@
{
"name": "lint-staged",
"version": "0.0.0-development",
"description": "Lint files staged by git",
"main": "index.js",
"bin": {
"lint-staged": "index.js"
},
"license": "MIT",
"repository": "https://github.com/okonet/lint-staged",
"author": "Andrey Okonetchnikov <[email protected]>",
"maintainers": [
"Lufty Wiranda <[email protected]",
"Suhas Karanth <[email protected]"
],
"engines": {
"node": ">=4.0.0"
"node": ">=4.2.0"
},
"bin": "index.js",
"files": [
"src"
],
"scripts": {
"commit": "git-cz",
"precommit": "remove-lockfiles && node index.js",
"cz": "git-cz",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"pre-commit": "remove-lockfiles && node index.js",
"pretest": "npm run lint",
"test": "jest --coverage",
"deps": "npm-check -s",
"deps:update": "npm-check -u"
},
"pre-commit": "pre-commit",
"jest": {
"testEnvironment": "node",
"setupFiles": [
"./testSetup.js"
]
"test:watch": "jest --watch"
},
"greenkeeper": {
"ignore": [
"cosmiconfig"
]
},
"repository": {
"type": "git",
"url": "https://github.com/okonet/lint-staged.git"
},
"keywords": [
"lint",
"git",
"staged",
"javascript",
"css",
"scss",
"sass",
"eslint",
"stylelint",
"code",
"quality"
],
"author": "Andrey Okonetchnikov <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/okonet/lint-staged/issues"
},
"homepage": "https://github.com/okonet/lint-staged#readme",
"dependencies": {
"app-root-path": "^2.0.0",
"chalk": "^2.1.0",
Expand All @@ -76,16 +45,15 @@
"babel-jest": "^20.0.0",
"babel-preset-env": "^1.6.0",
"commitizen": "^2.9.6",
"consolemock": "^0.2.1",
"consolemock": "^0.2.2",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^4.5.0",
"eslint-config-okonet": "^5.0.1",
"eslint-plugin-node": "^5.1.1",
"husky": "^0.14.3",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"jsonlint": "^1.6.2",
"npm-check": "^5.2.2",
"pre-commit": "^1.1.3",
"prettier": "1.5.3",
"remove-lockfiles": "^1.1.1",
"strip-ansi": "^3.0.1"
Expand All @@ -95,5 +63,28 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"version": "0.0.0-development"
"jest": {
"testEnvironment": "node",
"setupFiles": [
"./testSetup.js"
]
},
"greenkeeper": {
"ignore": [
"cosmiconfig"
]
},
"keywords": [
"lint",
"git",
"staged",
"eslint",
"prettier",
"stylelint",
"code",
"quality",
"check",
"format",
"validate"
]
}

0 comments on commit 0077644

Please sign in to comment.