| 1 |
{ |
| 2 |
"name": "essentials", |
| 3 |
"version": "1.2.0", |
| 4 |
"description": "Essential initialization for every JavaScript process", |
| 5 |
"author": "Mariusz Nowak <[email protected]> (http://www.medikoo.com/)", |
| 6 |
"keywords": [ |
| 7 |
"initialization", |
| 8 |
"process", |
| 9 |
"promise", |
| 10 |
"setup", |
| 11 |
"unhandledrejections" |
| 12 |
], |
| 13 |
"repository": { |
| 14 |
"type": "git", |
| 15 |
"url": "git://github.com/medikoo/essentials.git" |
| 16 |
}, |
| 17 |
"dependencies": { |
| 18 |
"uni-global": "^1.0.0" |
| 19 |
}, |
| 20 |
"devDependencies": { |
| 21 |
"eslint": "^8.4.1", |
| 22 |
"eslint-config-medikoo": "^4.1.1", |
| 23 |
"git-list-updated": "^1.2.1", |
| 24 |
"github-release-from-cc-changelog": "^2.2.0", |
| 25 |
"husky": "^4.3.8", |
| 26 |
"lint-staged": "^12.1.2", |
| 27 |
"prettier-elastic": "^2.2.1" |
| 28 |
}, |
| 29 |
"husky": { |
| 30 |
"hooks": { |
| 31 |
"pre-commit": "lint-staged" |
| 32 |
} |
| 33 |
}, |
| 34 |
"lint-staged": { |
| 35 |
"*.js": [ |
| 36 |
"eslint" |
| 37 |
], |
| 38 |
"*.{css,html,js,json,md,yaml,yml}": [ |
| 39 |
"prettier -c" |
| 40 |
] |
| 41 |
}, |
| 42 |
"eslintConfig": { |
| 43 |
"extends": "medikoo/es3", |
| 44 |
"root": true, |
| 45 |
"globals": { |
| 46 |
"process": true, |
| 47 |
"addEventListener": true |
| 48 |
} |
| 49 |
}, |
| 50 |
"prettier": { |
| 51 |
"printWidth": 100, |
| 52 |
"tabWidth": 4, |
| 53 |
"overrides": [ |
| 54 |
{ |
| 55 |
"files": [ |
| 56 |
"*.md", |
| 57 |
"*.yml" |
| 58 |
], |
| 59 |
"options": { |
| 60 |
"tabWidth": 2 |
| 61 |
} |
| 62 |
} |
| 63 |
] |
| 64 |
}, |
| 65 |
"scripts": { |
| 66 |
"lint": "eslint --ignore-path=.gitignore .", |
| 67 |
"lint:updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'", |
| 68 |
"prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 69 |
"prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c", |
| 70 |
"prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 71 |
"prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write" |
| 72 |
}, |
| 73 |
"license": "ISC" |
| 74 |
} |