2022-01-21 08:28:41 +00:00
|
|
|
{
|
2022-04-08 10:55:35 +00:00
|
|
|
"name": "ext",
|
2022-08-31 14:34:36 +00:00
|
|
|
"version": "1.7.0",
|
2022-04-08 10:55:35 +00:00
|
|
|
"description": "JavaScript utilities with respect to emerging standard",
|
|
|
|
"author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
|
|
|
|
"keywords": [
|
|
|
|
"ecmascript",
|
|
|
|
"es",
|
|
|
|
"es6",
|
|
|
|
"extensions",
|
|
|
|
"ext",
|
|
|
|
"addons",
|
|
|
|
"lodash",
|
|
|
|
"extras",
|
|
|
|
"harmony",
|
|
|
|
"javascript",
|
|
|
|
"polyfill",
|
|
|
|
"shim",
|
|
|
|
"util",
|
|
|
|
"utils",
|
|
|
|
"utilities"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/medikoo/es5-ext#ext"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-08-31 14:34:36 +00:00
|
|
|
"type": "^2.7.2"
|
2022-04-08 10:55:35 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-31 14:34:36 +00:00
|
|
|
"chai": "^4.3.6",
|
|
|
|
"eslint": "^8.23.0",
|
|
|
|
"eslint-config-medikoo": "^4.1.2",
|
2022-04-08 10:55:35 +00:00
|
|
|
"git-list-updated": "^1.2.1",
|
2022-08-31 14:34:36 +00:00
|
|
|
"github-release-from-cc-changelog": "^2.3.0",
|
2022-04-08 10:55:35 +00:00
|
|
|
"husky": "^4.3.8",
|
2022-08-31 14:34:36 +00:00
|
|
|
"lint-staged": "^13.0.3",
|
2022-04-08 10:55:35 +00:00
|
|
|
"mocha": "^6.2.3",
|
2022-08-31 14:34:36 +00:00
|
|
|
"nyc": "^15.1.0",
|
2022-04-08 10:55:35 +00:00
|
|
|
"prettier-elastic": "^2.2.1",
|
|
|
|
"sinon": "^8.1.1",
|
|
|
|
"timers-ext": "^0.1.7"
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"eslint"
|
|
|
|
],
|
|
|
|
"*.{css,html,js,json,md,yaml,yml}": [
|
|
|
|
"prettier -c"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"eslintIgnore": [
|
|
|
|
"_es5-ext"
|
|
|
|
],
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "medikoo/es3",
|
|
|
|
"root": true,
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "global-this/implementation.js",
|
|
|
|
"globals": {
|
|
|
|
"__global__": true,
|
|
|
|
"self": true,
|
|
|
|
"window": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-extend-native": "off",
|
|
|
|
"strict": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"global-this/is-implemented.js",
|
|
|
|
"global-this/index.js"
|
|
|
|
],
|
|
|
|
"globals": {
|
|
|
|
"globalThis": true
|
|
|
|
}
|
|
|
|
},
|
2022-08-31 14:34:36 +00:00
|
|
|
{
|
|
|
|
"files": "string_/camel-to-hyphen.js",
|
|
|
|
"rules": {
|
|
|
|
"id-length": "off"
|
|
|
|
}
|
|
|
|
},
|
2022-04-08 10:55:35 +00:00
|
|
|
{
|
|
|
|
"files": "test/**/*.js",
|
|
|
|
"env": {
|
|
|
|
"mocha": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"test/promise/limit.js",
|
|
|
|
"test/thenable_/finally.js"
|
|
|
|
],
|
|
|
|
"globals": {
|
|
|
|
"Promise": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"printWidth": 100,
|
|
|
|
"tabWidth": 4,
|
|
|
|
"overrides": [
|
|
|
|
{
|
2022-08-31 14:34:36 +00:00
|
|
|
"files": [
|
|
|
|
"*.md",
|
|
|
|
"*.yml"
|
|
|
|
],
|
2022-04-08 10:55:35 +00:00
|
|
|
"options": {
|
|
|
|
"tabWidth": 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"mocha": {
|
|
|
|
"recursive": true
|
|
|
|
},
|
2022-08-31 14:34:36 +00:00
|
|
|
"nyc": {
|
|
|
|
"all": true,
|
|
|
|
"exclude": [
|
|
|
|
".github",
|
|
|
|
"_es5-ext",
|
|
|
|
"coverage/**",
|
|
|
|
"test/**",
|
|
|
|
"*.config.js"
|
|
|
|
],
|
|
|
|
"reporter": [
|
|
|
|
"lcov",
|
|
|
|
"html",
|
|
|
|
"text-summary"
|
|
|
|
]
|
|
|
|
},
|
2022-04-08 10:55:35 +00:00
|
|
|
"scripts": {
|
2022-08-31 14:34:36 +00:00
|
|
|
"coverage": "nyc npm test",
|
2022-04-08 10:55:35 +00:00
|
|
|
"lint": "eslint .",
|
2022-08-31 14:34:36 +00:00
|
|
|
"lint:updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
|
|
|
|
"prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
|
|
|
|
"prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
|
2022-04-08 10:55:35 +00:00
|
|
|
"prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
|
2022-08-31 14:34:36 +00:00
|
|
|
"prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
|
2022-04-08 10:55:35 +00:00
|
|
|
"test": "mocha"
|
|
|
|
},
|
|
|
|
"license": "ISC"
|
2022-01-21 08:28:41 +00:00
|
|
|
}
|