| 1 |
{ |
| 2 |
"name": "uni-global", |
| 3 |
"version": "1.0.0", |
| 4 |
"description": "Global namespace without polluting the global scope", |
| 5 |
"author": "Mariusz Nowak <[email protected]> (https://www.medikoo.com/)", |
| 6 |
"keywords": [ |
| 7 |
"global", |
| 8 |
"globalThis" |
| 9 |
], |
| 10 |
"repository": "medikoo/uni-global", |
| 11 |
"dependencies": { |
| 12 |
"type": "^2.5.0" |
| 13 |
}, |
| 14 |
"devDependencies": { |
| 15 |
"@commitlint/cli": "^13.2.0", |
| 16 |
"chai": "^4.3.4", |
| 17 |
"eslint": "^7.32.0", |
| 18 |
"eslint-config-medikoo": "^4.1.0", |
| 19 |
"ext": "^1.6.0", |
| 20 |
"git-list-updated": "^1.2.1", |
| 21 |
"github-release-from-cc-changelog": "^2.2.0", |
| 22 |
"husky": "^4.3.8", |
| 23 |
"lint-staged": "^11.1.2", |
| 24 |
"mocha": "^9.1.2", |
| 25 |
"ncjsm": "^4.2.0", |
| 26 |
"nyc": "^15.1.0", |
| 27 |
"prettier-elastic": "^2.2.1", |
| 28 |
"standard-version": "^9.3.1" |
| 29 |
}, |
| 30 |
"husky": { |
| 31 |
"hooks": { |
| 32 |
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
| 33 |
"pre-commit": "lint-staged" |
| 34 |
} |
| 35 |
}, |
| 36 |
"lint-staged": { |
| 37 |
"*.js": [ |
| 38 |
"eslint" |
| 39 |
], |
| 40 |
"*.{css,html,js,json,md,yaml,yml}": [ |
| 41 |
"prettier -c" |
| 42 |
] |
| 43 |
}, |
| 44 |
"eslintConfig": { |
| 45 |
"extends": "medikoo/es3", |
| 46 |
"root": true, |
| 47 |
"globals": { |
| 48 |
"Symbol": true |
| 49 |
}, |
| 50 |
"overrides": [ |
| 51 |
{ |
| 52 |
"files": "test/**/*.js", |
| 53 |
"env": { |
| 54 |
"mocha": true |
| 55 |
} |
| 56 |
} |
| 57 |
] |
| 58 |
}, |
| 59 |
"prettier": { |
| 60 |
"printWidth": 100, |
| 61 |
"tabWidth": 4, |
| 62 |
"overrides": [ |
| 63 |
{ |
| 64 |
"files": [ |
| 65 |
"*.md", |
| 66 |
"*.yml" |
| 67 |
], |
| 68 |
"options": { |
| 69 |
"tabWidth": 2 |
| 70 |
} |
| 71 |
} |
| 72 |
] |
| 73 |
}, |
| 74 |
"nyc": { |
| 75 |
"all": true, |
| 76 |
"exclude": [ |
| 77 |
".github", |
| 78 |
"coverage/**", |
| 79 |
"test/**", |
| 80 |
"prettier.config.js" |
| 81 |
], |
| 82 |
"reporter": [ |
| 83 |
"lcov", |
| 84 |
"html", |
| 85 |
"text-summary" |
| 86 |
] |
| 87 |
}, |
| 88 |
"standard-version": { |
| 89 |
"skip": { |
| 90 |
"commit": true, |
| 91 |
"tag": true |
| 92 |
}, |
| 93 |
"types": [ |
| 94 |
{ |
| 95 |
"type": "feat", |
| 96 |
"section": "Features" |
| 97 |
}, |
| 98 |
{ |
| 99 |
"type": "fix", |
| 100 |
"section": "Bug Fixes" |
| 101 |
}, |
| 102 |
{ |
| 103 |
"type": "perf", |
| 104 |
"section": "Performance Improvements" |
| 105 |
}, |
| 106 |
{ |
| 107 |
"type": "refactor", |
| 108 |
"section": "Maintenance Improvements" |
| 109 |
}, |
| 110 |
{ |
| 111 |
"type": "chore", |
| 112 |
"section": "Maintenance Improvements" |
| 113 |
} |
| 114 |
] |
| 115 |
}, |
| 116 |
"scripts": { |
| 117 |
"commitlint": "commitlint -f HEAD@{15}", |
| 118 |
"coverage": "nyc npm test", |
| 119 |
"lint": "eslint --ignore-path=.gitignore .", |
| 120 |
"lint:updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'", |
| 121 |
"prepare-release": "standard-version && prettier --write CHANGELOG.md", |
| 122 |
"prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 123 |
"prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c", |
| 124 |
"prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 125 |
"prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write", |
| 126 |
"test": "mocha" |
| 127 |
}, |
| 128 |
"license": "ISC" |
| 129 |
} |