chenyc
2025-12-09 545c24c6a711d71b65f3d4e8122fee3837fb1edc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
    "name": "es6-set",
    "version": "0.1.6",
    "description": "ECMAScript6 Set polyfill",
    "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
    "keywords": [
        "set",
        "collection",
        "es6",
        "harmony",
        "list",
        "hash"
    ],
    "repository": "medikoo/es6-set",
    "dependencies": {
        "d": "^1.0.1",
        "es5-ext": "^0.10.62",
        "es6-iterator": "~2.0.3",
        "es6-symbol": "^3.1.3",
        "event-emitter": "^0.3.5",
        "type": "^2.7.2"
    },
    "devDependencies": {
        "eslint": "^8.22.0",
        "eslint-config-medikoo": "^4.1.2",
        "husky": "^4.3.8",
        "lint-staged": "^13.0.3",
        "nyc": "^15.1.0",
        "prettier-elastic": "^2.2.1",
        "tad": "^3.1.0"
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged"
        }
    },
    "lint-staged": {
        "*.js": [
            "eslint"
        ],
        "*.{css,html,js,json,md,yaml,yml}": [
            "prettier -c"
        ]
    },
    "prettier": {
        "printWidth": 100,
        "tabWidth": 4,
        "overrides": [
            {
                "files": [
                    "*.md",
                    "*.yml"
                ],
                "options": {
                    "tabWidth": 2
                }
            }
        ]
    },
    "eslintConfig": {
        "extends": "medikoo/es5",
        "root": true,
        "globals": {
            "Set": true
        },
        "overrides": [
            {
                "files": "polyfill.js",
                "rules": {
                    "func-names": "off",
                    "no-shadow": "off"
                }
            },
            {
                "files": "test/lib/primitive-iterator.js",
                "rules": {
                    "max-lines": "off"
                }
            }
        ]
    },
    "nyc": {
        "all": true,
        "exclude": [
            ".github",
            "coverage/**",
            "test/**",
            "*.config.js"
        ],
        "reporter": [
            "lcov",
            "html",
            "text-summary"
        ]
    },
    "scripts": {
        "coverage": "nyc npm test",
        "lint": "eslint --ignore-path=.gitignore .",
        "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
        "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
        "test": "tad"
    },
    "engines": {
        "node": ">=0.12"
    },
    "license": "ISC"
}