diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-11-05 17:23:37 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-11-05 17:23:37 +0800 |
| commit | 2cdf0cb352ab6a2d0f8cb25120e4ebc92c5316e3 (patch) | |
| tree | 6b088c99810bd013f17b80522c936ca6dfc09858 /node_modules/postcss-calc/package.json | |
| parent | f8ee6ef722e6c560c4a1c879e04dbdf0b01f0316 (diff) | |
removed autoprefix hover as it will have a high chance of making hover stopped working
Diffstat (limited to 'node_modules/postcss-calc/package.json')
| -rw-r--r-- | node_modules/postcss-calc/package.json | 74 |
1 files changed, 30 insertions, 44 deletions
diff --git a/node_modules/postcss-calc/package.json b/node_modules/postcss-calc/package.json index 68867715..c23cc0c1 100644 --- a/node_modules/postcss-calc/package.json +++ b/node_modules/postcss-calc/package.json @@ -1,6 +1,6 @@ { "name": "postcss-calc", - "version": "9.0.1", + "version": "6.0.2", "description": "PostCSS plugin to reduce calc()", "keywords": [ "css", @@ -9,60 +9,46 @@ "calculation", "calc" ], - "homepage": "https://github.com/postcss/postcss-calc", - "repository": { - "type": "git", - "url": "https://github.com/postcss/postcss-calc.git" - }, - "main": "src/index.js", - "types": "types/index.d.ts", + "main": "dist/index.js", "files": [ - "src", - "types", + "dist", "LICENSE" ], "scripts": { - "prepare": "pnpm run build && tsc", - "build": "jison ./parser.jison -o src/parser.js", - "lint": "eslint . && tsc", - "test": "uvu test" + "prepublish": "npm run build && del-cli dist/__tests__", + "build": "del-cli dist && cross-env BABEL_ENV=publish babel src --out-dir dist", + "pretest": "eslint src && npm run build", + "test": "ava src/__tests__/" }, - "author": "Andy Jansson", + "author": "Maxime Thirouin", "license": "MIT", + "repository": "https://github.com/postcss/postcss-calc.git", "eslintConfig": { - "extends": [ - "eslint:recommended", - "prettier" - ], - "env": { - "node": true, - "es2017": true - }, - "ignorePatterns": [ - "src/parser.js" - ], - "rules": { - "curly": "error" - } - }, - "engines": { - "node": "^14 || ^16 || >=18.0" + "parser": "babel-eslint", + "extends": "eslint-config-i-am-meticulous" }, "devDependencies": { - "@types/node": "^18.16.2", - "eslint": "^8.39.0", - "eslint-config-prettier": "^8.8.0", - "jison-gho": "^0.6.1-216", - "postcss": "^8.2.2", - "prettier": "^2.8.8", - "typescript": "~5.0.4", - "uvu": "^0.5.6" + "ava": "^0.19.1", + "babel-cli": "^6.18.0", + "babel-core": "^6.21.0", + "babel-eslint": "^7.1.1", + "babel-plugin-add-module-exports": "^0.2.1", + "babel-preset-env": "^1.4.0", + "babel-register": "^6.18.0", + "cross-env": "^4.0.0", + "del-cli": "^0.2.1", + "eslint": "^3.12.2", + "eslint-config-i-am-meticulous": "^6.0.1", + "eslint-plugin-babel": "^4.0.0", + "eslint-plugin-import": "^2.2.0" }, "dependencies": { - "postcss-selector-parser": "^6.0.11", - "postcss-value-parser": "^4.2.0" + "css-unit-converter": "^1.1.1", + "postcss": "^7.0.2", + "postcss-selector-parser": "^2.2.2", + "reduce-css-calc": "^2.0.0" }, - "peerDependencies": { - "postcss": "^8.2.2" + "ava": { + "require": "babel-register" } } |
