|
2 | 2 | "name": "eslint-plugin-functional",
|
3 | 3 | "version": "2.0.0",
|
4 | 4 | "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 |
| - }, |
11 | 5 | "keywords": [
|
12 | 6 | "eslint",
|
13 | 7 | "eslint plugin",
|
14 |
| - "immutable", |
15 |
| - "immutability", |
| 8 | + "fp", |
16 | 9 | "functional",
|
17 | 10 | "functional programming",
|
18 |
| - "fp" |
| 11 | + "immutability", |
| 12 | + "immutable" |
19 | 13 | ],
|
| 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", |
20 | 23 | "author": "Jonas Kello",
|
21 | 24 | "contributors": [
|
22 | 25 | {
|
23 | 26 | "name": "Rebecca Stevens",
|
24 | 27 |
|
25 | 28 | }
|
26 | 29 | ],
|
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", |
32 | 30 | "files": [
|
33 | 31 | "/lib",
|
34 | 32 | "package.json",
|
35 | 33 | "CHANGELOG.md",
|
36 | 34 | "LICENSE",
|
37 | 35 | "README.md"
|
38 | 36 | ],
|
| 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 | + }, |
39 | 66 | "dependencies": {
|
40 | 67 | "@typescript-eslint/experimental-utils": "^1.11.0",
|
41 | 68 | "array.prototype.flatmap": "^1.2.1",
|
|
85 | 112 | "typescript": {
|
86 | 113 | "optional": true
|
87 | 114 | }
|
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 |
| - ] |
115 | 115 | }
|
116 | 116 | }
|
0 commit comments