diff --git a/package.json b/package.json index 68419fa..d3e1898 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "doiuse", - "version": "4.4.1", + "version": "6.1.1", "description": "Lint CSS for browser support against caniuse database", "main:": "./exports/index.cjs", "type": "module", @@ -28,8 +28,10 @@ "caniuse", "stylelint" ], - "author": "Anand Thakker", "contributors": [ + "Robbie Wadley (https://github.com/RJWadley)", + "Carlos Lopez Jr. (https://github.com/clshortfuse)", + "Anand Thakker (http://www.anandthakker.net/)", "Piotr Kuczynski (https://github.com/pkuczynski)" ], "license": "MIT", @@ -41,10 +43,10 @@ "node": ">=14" }, "dependencies": { - "browserslist": "^4.16.1", - "caniuse-lite": "^1.0.30001179", - "css-rule-stream": "^1.1.0", - "duplexer2": "0.0.2", + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001487", + "css-tokenize": "^1.0.1", + "duplexify": "^4.1.2", "ldjson-stream": "^1.2.1", "multimatch": "^5.0.0", "postcss": "^8.4.21", @@ -52,19 +54,35 @@ "yargs": "^17.7.1" }, "devDependencies": { - "@babel/cli": "^7.12.10", - "@babel/core": "^7.12.10", - "mock-fs": "^4.13.0", - "postcss-import": "^14.0.0", + "@types/caniuse-lite": "^1.0.1", + "@types/node": "^14.18.36", + "@types/tap": "^15.0.8", + "@types/yargs": "^17.0.22", + "@typescript-eslint/eslint-plugin": "^5.54.0", + "@typescript-eslint/parser": "^5.54.0", + "c8": "^7.13.0", + "caniuse-db": "^1.0.30001487", + "eslint": "^8.35.0", + "eslint-config-airbnb-base": "^15.0.0", + "eslint-plugin-canonical": "^2.6.0", + "eslint-plugin-github": "^4.6.1", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-jsdoc": "^40.0.0", + "eslint-plugin-n": "^15.6.1", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-unicorn": "^45.0.2", + "mock-fs": "^4.14.0", + "postcss-import": "^14.1.0", + "rollup": "^2.79.1", "safe-regex": "^2.1.1", "tap": "^16.3.4", "typescript": "^4.9.5" }, "scripts": { - "prebuild": "rm -rf lib", - "build": "babel -d lib/ src/", - "pretest": "npm run build", - "test": "tape test/*.js", - "prepare": "npm run build" + "pretest": "eslint ./bin/**/*.js ./data/**/*.js ./lib/**/*.js ./test/**/*.js", + "test": "c8 tap --no-coverage", + "prepare": "rollup -c rollup.config.js", + "prepublishOnly": "tsc", + "updateFeatures": "scripts/update-caniuse.sh && node scripts/update-features.js" } }