UNPKG

1.41 kBJSONView Raw
1{
2 "name": "keyu",
3 "version": "2.0.0",
4 "description": "Key utilities for everyday use",
5 "main": "index.js",
6 "scripts": {
7 "lint": "./node_modules/standard/bin/cmd.js ./ && ./node_modules/.bin/eslint --fix ./",
8 "fmt": "./node_modules/prettier/bin-prettier.js *.js */**.js --write",
9 "ci": "NODE_ENV=test ./node_modules/.bin/eslint --fix ./ && nyc npm test && nyc report --reporter=text-lcov | coveralls",
10 "test": "NODE_ENV=test nyc mocha",
11 "doc": "jsdoc -c .jsdoc.js .",
12 "coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text mocha"
13 },
14 "keywords": [
15 "utils",
16 "utilities",
17 "key"
18 ],
19 "author": "Carles Iborra",
20 "repository": "github:nerac/keyu",
21 "license": "MIT",
22 "devDependencies": {
23 "coveralls": "^3.0.3",
24 "eslint": "^5.16.0",
25 "eslint-config-prettier": "^4.1.0",
26 "eslint-plugin-prettier": "^3.0.1",
27 "husky": "^1.3.1",
28 "jsdoc": "^3.6.2",
29 "jsdoc-baseline": "^0.1.1",
30 "lint-staged": "^8.1.5",
31 "mocha": "^6.1.4",
32 "mocha-lcov-reporter": "^1.3.0",
33 "nyc": "^14.1.1",
34 "prettier": "1.16.4",
35 "pretty-quick": "^1.10.0",
36 "standard": "^12.0.1"
37 },
38 "husky": {
39 "hooks": {
40 "pre-commit": "lint-staged"
41 }
42 },
43 "lint-staged": {
44 "*Test.js": [
45 "npm test"
46 ],
47 "*.js": [
48 "npm run lint",
49 "npm run doc",
50 "pretty-quick --staged",
51 "git add"
52 ]
53 }
54}