Comparing version 1.0.4 to 2.0.0
{ | ||
"name": "vendors", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "List of vendor prefixes known to the web platform", | ||
@@ -26,23 +26,29 @@ "license": "MIT", | ||
], | ||
"main": "index.json", | ||
"sideEffects": false, | ||
"type": "module", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"index.json" | ||
"index.d.ts", | ||
"index.js" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"browserify": "^16.0.0", | ||
"prettier": "^1.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"tape": "^4.0.0", | ||
"tinyify": "^2.0.0", | ||
"xo": "^0.25.0" | ||
"@types/tape": "^4.0.0", | ||
"c8": "^7.0.0", | ||
"prettier": "^2.0.0", | ||
"remark-cli": "^9.0.0", | ||
"remark-preset-wooorm": "^8.0.0", | ||
"rimraf": "^3.0.0", | ||
"tape": "^5.0.0", | ||
"typescript": "^4.0.0", | ||
"xo": "^0.38.0" | ||
}, | ||
"scripts": { | ||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix", | ||
"build-bundle": "browserify index.json -s vendors -o vendors.js", | ||
"build-mangle": "browserify index.json -s vendors -p tinyify -o vendors.min.js", | ||
"build": "npm run build-bundle && npm run build-mangle", | ||
"prepublishOnly": "npm run build", | ||
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", | ||
"prebuild": "rimraf \"*.d.ts\"", | ||
"build": "tsc", | ||
"test-api": "node test", | ||
"test": "npm run format && npm run build && npm run test-api" | ||
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js", | ||
"test": "npm run format && npm run build && npm run test-coverage" | ||
}, | ||
@@ -59,6 +65,7 @@ "prettier": { | ||
"prettier": true, | ||
"esnext": false, | ||
"ignores": [ | ||
"vendors.js" | ||
] | ||
"rules": { | ||
"import/no-mutable-exports": "off", | ||
"no-var": "off", | ||
"prefer-arrow-callback": "off" | ||
} | ||
}, | ||
@@ -65,0 +72,0 @@ "remarkConfig": { |
# vendors | ||
[![Build][build-badge]][build] | ||
[![Coverage][coverage-badge]][coverage] | ||
[![Downloads][downloads-badge]][downloads] | ||
@@ -17,2 +18,5 @@ [![Size][size-badge]][size] | ||
This package is ESM only: Node 12+ is needed to use it and it must be `import`ed | ||
instead of `require`d. | ||
[npm][]: | ||
@@ -27,3 +31,3 @@ | ||
```js | ||
var vendors = require('vendors') | ||
import {vendors} from 'vendors' | ||
@@ -36,3 +40,4 @@ console.log(vendors) | ||
```js | ||
[ 'ah', | ||
[ | ||
'ah', | ||
'apple', | ||
@@ -51,5 +56,15 @@ 'atsc', | ||
'webkit', | ||
'xv' ] | ||
'xv' | ||
] | ||
``` | ||
## API | ||
This package exports the following identifiers: `vendors`. | ||
There is no default export. | ||
### `vendors` | ||
List of vendor prefixes (`string[]`). | ||
## License | ||
@@ -61,6 +76,10 @@ | ||
[build-badge]: https://img.shields.io/travis/wooorm/vendors.svg | ||
[build-badge]: https://github.com/wooorm/vendors/workflows/main/badge.svg | ||
[build]: https://travis-ci.org/wooorm/vendors | ||
[build]: https://github.com/wooorm/vendors/actions | ||
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/vendors.svg | ||
[coverage]: https://codecov.io/github/wooorm/vendors | ||
[downloads-badge]: https://img.shields.io/npm/dm/vendors.svg | ||
@@ -67,0 +86,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4966
5
28
97
Yes
9