Skip to content

Commit

Permalink
Added json sorter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roee Shapira committed Jan 30, 2020
1 parent 937640c commit 68a58d2
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 31 deletions.
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 36 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,51 @@
"name": "lazy-piping",
"version": "1.1.2",
"description": "A lazy piping operator for iterators",
"main": "./packages/lazy-piping.cjs/src/index.js",
"module": "./packages/lazy-piping.esm/src/index.js",
"keywords": [
"iterables",
"iterate",
"pipe",
"array"
],
"license": "The Unlicense",
"author": "Roee Shapira",
"sideEffects": false,
"exports": {
".": {
"require": "./packages/lazy-piping.cjs/",
"default": "./packages/lazy-piping.esm/"
}
},
"sideEffects": false,
"main": "./packages/lazy-piping.cjs/src/index.js",
"module": "./packages/lazy-piping.esm/src/index.js",
"scripts": {
"build": "rollup -c",
"clean:all": "lerna run clean",
"lint:staged": "lint-staged",
"lint": "eslint ./src/**/*.ts && prettier --check ./src/**/*.ts",
"build": "rollup -c",
"test": "jest",
"prepare": "run-s lint clean:all build test"
"lint:staged": "lint-staged",
"prepare": "run-s lint clean:all build test",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "run-s lint:staged clean:all build",
"pre-push": "run-s lint test"
}
},
"lint-staged": {
"**/package.json": [
"sort-package-json",
"git add"
],
"*.ts": [
"eslint --fix",
"git add"
],
"*.{ts,md}": [
"prettier --write",
"git add"
]
},
"keywords": [
"iterables",
"iterate",
"pipe",
"array"
],
"author": "Roee Shapira",
"license": "The Unlicense",
"devDependencies": {
"@types/jest": "^24.0.23",
"@types/node": "^12.12.14",
Expand All @@ -45,23 +65,8 @@
"rollup": "^1.27.10",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-typescript2": "^0.25.3",
"sort-package-json": "^1.39.1",
"ts-jest": "^24.2.0",
"typescript": "^3.7.2"
},
"husky": {
"hooks": {
"pre-commit": "run-s lint:staged clean:all build",
"pre-push": "run-s lint test"
}
},
"lint-staged": {
"*.{ts,md}": [
"prettier --write",
"git add"
],
"*.ts": [
"eslint --fix",
"git add"
]
}
}

0 comments on commit 68a58d2

Please sign in to comment.