UNPKG

1.75 kBJSONView Raw
1{
2 "name": "arity-of",
3 "version": "1.0.0",
4 "description": "Exposes max arity and other metadata for JS functions",
5 "main": "index.js",
6 "files": [
7 "index.js",
8 "auto.js",
9 "lib/**.js"
10 ],
11 "scripts": {
12 "cover": "istanbul cover _mocha",
13 "coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
14 "lint": "./node_modules/.bin/eslint .",
15 "prepack": "npm run lint && npm test",
16 "test": "mocha"
17 },
18 "pre-commit": [
19 "prepack"
20 ],
21 "repository": {
22 "type": "git",
23 "url": "git+https://github.com/mikesamuel/arity-of.git"
24 },
25 "keywords": [
26 "function",
27 "metadata",
28 "arity"
29 ],
30 "author": "Mike Samuel",
31 "license": "Apache-2.0",
32 "bugs": {
33 "url": "https://github.com/mikesamuel/arity-of/issues"
34 },
35 "homepage": "https://github.com/mikesamuel/arity-of#readme",
36 "dependencies": {},
37 "devDependencies": {
38 "chai": "^4.1.2",
39 "coveralls": "^3.0.1",
40 "eslint": "^4.19.1",
41 "eslint-config-strict": "^14.0.1",
42 "istanbul": "^0.4.5",
43 "mocha": "^4.0.1",
44 "mocha-lcov-reporter": "^1.3.0",
45 "pre-commit": "^1.2.2"
46 },
47 "eslintIgnore": [
48 "/coverage/**"
49 ],
50 "eslintConfig": {
51 "extends": [
52 "strict"
53 ],
54 "parserOptions": {
55 "ecmaVersion": 8,
56 "sourceType": "source",
57 "ecmaFeatures": {
58 "impliedStrict": false
59 }
60 },
61 "rules": {
62 "array-element-newline": "off",
63 "line-comment-position": "off",
64 "no-inline-comments": "off",
65 "no-warning-comments": [
66 "error",
67 {
68 "terms": [
69 "do not submit"
70 ]
71 }
72 ],
73 "no-void": "off",
74 "strict": [
75 "error",
76 "global"
77 ]
78 }
79 }
80}