Skip to content

Commit 3a0f5e0

Browse files
style(package.json): sort package.json
1 parent 353baef commit 3a0f5e0

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

package.json

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,67 @@
22
"name": "eslint-plugin-functional",
33
"version": "2.0.0",
44
"description": "ESLint rules to disable mutation and promote fp in TypeScript.",
5-
"main": "lib/index.js",
6-
"module": "lib/index.mjs",
7-
"repository": {
8-
"type": "git",
9-
"url": "git+https://github.com/jonaskello/eslint-plugin-functional"
10-
},
115
"keywords": [
126
"eslint",
137
"eslint plugin",
14-
"immutable",
15-
"immutability",
8+
"fp",
169
"functional",
1710
"functional programming",
18-
"fp"
11+
"immutability",
12+
"immutable"
1913
],
14+
"homepage": "https://github.com/jonaskello/eslint-plugin-functional#readme",
15+
"bugs": {
16+
"url": "https://github.com/jonaskello/eslint-plugin-functional/issues"
17+
},
18+
"repository": {
19+
"type": "git",
20+
"url": "git+https://github.com/jonaskello/eslint-plugin-functional"
21+
},
22+
"license": "MIT",
2023
"author": "Jonas Kello",
2124
"contributors": [
2225
{
2326
"name": "Rebecca Stevens",
2427
"email": "[email protected]"
2528
}
2629
],
27-
"license": "MIT",
28-
"bugs": {
29-
"url": "https://github.com/jonaskello/eslint-plugin-functional/issues"
30-
},
31-
"homepage": "https://github.com/jonaskello/eslint-plugin-functional#readme",
3230
"files": [
3331
"/lib",
3432
"package.json",
3533
"CHANGELOG.md",
3634
"LICENSE",
3735
"README.md"
3836
],
37+
"main": "lib/index.js",
38+
"module": "lib/index.mjs",
39+
"scripts": {
40+
"build": "rimraf lib && yarn compile",
41+
"build-tests": "rimraf build && yarn compile-tests",
42+
"compile": "rollup -c",
43+
"compile-tests": "tsc -p tsconfig.tests.json && cp ./tests/helpers/tsconfig.json ./build/tests/helpers/",
44+
"prelint": "yarn build && yarn link && yarn link 'eslint-plugin-functional'",
45+
"lint": "yarn eslint './{src,tests}/**/*.ts' --ext .ts -f visualstudio",
46+
"report-coverage": "codecov -f coverage/lcov.info",
47+
"test": "jest --testPathIgnorePatterns _work.test",
48+
"test-compiled": "USE_COMPLIED=1 yarn test",
49+
"test-work": "jest tests/rules/_work.test.ts",
50+
"verify": "yarn build && yarn lint && yarn build-tests && yarn test-compiled && rimraf build",
51+
"preversion": "yarn verify",
52+
"postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
53+
},
54+
"husky": {
55+
"hooks": {
56+
"pre-commit": "lint-staged"
57+
}
58+
},
59+
"lint-staged": {
60+
"./{src,tests}/**/*.{ts,json}": [
61+
"prettier --write",
62+
"git add"
63+
],
64+
"./{src,tests}/**/*.{ts}": "eslint"
65+
},
3966
"dependencies": {
4067
"@typescript-eslint/experimental-utils": "^1.11.0",
4168
"array.prototype.flatmap": "^1.2.1",
@@ -85,32 +112,5 @@
85112
"typescript": {
86113
"optional": true
87114
}
88-
},
89-
"scripts": {
90-
"compile": "rollup -c",
91-
"compile-tests": "tsc -p tsconfig.tests.json && cp ./tests/helpers/tsconfig.json ./build/tests/helpers/",
92-
"build-tests": "rimraf build && yarn compile-tests",
93-
"build": "rimraf lib && yarn compile",
94-
"prelint": "yarn build && yarn link && yarn link 'eslint-plugin-functional'",
95-
"lint": "yarn eslint './{src,tests}/**/*.ts' --ext .ts -f visualstudio",
96-
"test": "jest --testPathIgnorePatterns _work.test",
97-
"test-work": "jest tests/rules/_work.test.ts",
98-
"test-compiled": "USE_COMPLIED=1 yarn test",
99-
"verify": "yarn build && yarn lint && yarn build-tests && yarn test-compiled && rimraf build",
100-
"report-coverage": "codecov -f coverage/lcov.info",
101-
"preversion": "yarn verify",
102-
"postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
103-
},
104-
"husky": {
105-
"hooks": {
106-
"pre-commit": "lint-staged"
107-
}
108-
},
109-
"lint-staged": {
110-
"./{src,tests}/**/*.{ts}": "eslint",
111-
"./{src,tests}/**/*.{ts,json}": [
112-
"prettier --write",
113-
"git add"
114-
]
115115
}
116116
}

0 commit comments

Comments
 (0)