|
1 | 1 | {
|
2 | 2 | "name": "postcss-preset-env",
|
3 |
| - "version": "6.7.0", |
| 3 | + "version": "7.0.0", |
4 | 4 | "description": "Convert modern CSS into something browsers understand",
|
5 | 5 | "author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
6 | 6 | "license": "CC0-1.0",
|
7 | 7 | "repository": "csstools/postcss-preset-env",
|
8 | 8 | "homepage": "https://github.com/csstools/postcss-preset-env#readme",
|
9 | 9 | "bugs": "https://github.com/csstools/postcss-preset-env/issues",
|
10 |
| - "main": "index.js", |
11 |
| - "module": "index.mjs", |
| 10 | + "main": "dist/index.js", |
| 11 | + "module": "dist/index.mjs", |
12 | 12 | "files": [
|
13 |
| - "index.js", |
14 |
| - "index.js.map", |
15 |
| - "index.mjs", |
16 |
| - "index.mjs.map" |
| 13 | + "dist" |
17 | 14 | ],
|
18 | 15 | "scripts": {
|
19 |
| - "build": "rollup -c .rollup.js --silent", |
20 |
| - "prepublishOnly": "npm test", |
21 |
| - "pretest:tape": "npm run build", |
22 |
| - "test": "npm run test:js && npm run test:tape", |
23 |
| - "test:js": "eslint src/*.js src/lib/*.js src/patch/*.js --cache --ignore-path .gitignore --quiet", |
24 |
| - "test:tape": "postcss-tape" |
| 16 | + "build": "npx rollup -c .rollup.js", |
| 17 | + "build:watch": "npx rollup -c .rollup.js --watch", |
| 18 | + "lint": "npx eslint --cache src", |
| 19 | + "lint:fix": "npx eslint --cache --fix", |
| 20 | + "pretest": "npm install && npm run build", |
| 21 | + "test": "npm run lint && npm run tape", |
| 22 | + "tape": "npx postcss-tape", |
| 23 | + "prepublishOnly": "npm test" |
25 | 24 | },
|
26 | 25 | "engines": {
|
27 |
| - "node": ">=6.0.0" |
| 26 | + "node": ">=12" |
| 27 | + }, |
| 28 | + "peerDependencies": { |
| 29 | + "postcss": "^8.3" |
28 | 30 | },
|
29 | 31 | "dependencies": {
|
30 |
| - "autoprefixer": "^9.6.1", |
31 |
| - "browserslist": "^4.6.4", |
32 |
| - "caniuse-lite": "^1.0.30001040", |
33 |
| - "css-blank-pseudo": "^0.1.4", |
34 |
| - "css-has-pseudo": "^0.10.0", |
35 |
| - "css-prefers-color-scheme": "^3.1.1", |
36 |
| - "cssdb": "^4.4.0", |
37 |
| - "postcss": "^8.3.4", |
38 |
| - "postcss-attribute-case-insensitive": "^4.0.1", |
39 |
| - "postcss-color-functional-notation": "^2.0.1", |
40 |
| - "postcss-color-gray": "^5.0.0", |
41 |
| - "postcss-color-hex-alpha": "^5.0.3", |
42 |
| - "postcss-color-mod-function": "^3.0.3", |
43 |
| - "postcss-color-rebeccapurple": "^4.0.1", |
44 |
| - "postcss-custom-media": "^7.0.8", |
45 |
| - "postcss-custom-properties": "^8.0.11", |
46 |
| - "postcss-custom-selectors": "^5.1.2", |
47 |
| - "postcss-dir-pseudo-class": "^5.0.0", |
48 |
| - "postcss-double-position-gradients": "^1.0.0", |
49 |
| - "postcss-env-function": "^2.0.2", |
50 |
| - "postcss-focus-visible": "^4.0.0", |
51 |
| - "postcss-focus-within": "^4.0.0", |
52 |
| - "postcss-font-variant": "^4.0.0", |
53 |
| - "postcss-gap-properties": "^2.0.0", |
54 |
| - "postcss-image-set-function": "^3.0.1", |
55 |
| - "postcss-initial": "^3.0.1", |
56 |
| - "postcss-lab-function": "^2.0.1", |
57 |
| - "postcss-logical": "^3.0.0", |
58 |
| - "postcss-media-minmax": "^4.0.0", |
59 |
| - "postcss-nesting": "^7.0.0", |
60 |
| - "postcss-overflow-shorthand": "^2.0.0", |
61 |
| - "postcss-page-break": "^2.0.0", |
62 |
| - "postcss-place": "^4.0.1", |
63 |
| - "postcss-pseudo-class-any-link": "^6.0.0", |
64 |
| - "postcss-replace-overflow-wrap": "^3.0.0", |
65 |
| - "postcss-selector-matches": "^4.0.0", |
66 |
| - "postcss-selector-not": "^4.0.0" |
| 32 | + "autoprefixer": "^10.4.0", |
| 33 | + "browserslist": "^4.17.5", |
| 34 | + "caniuse-lite": "^1.0.30001272", |
| 35 | + "css-blank-pseudo": "^2.0.0", |
| 36 | + "css-has-pseudo": "^2.0.0", |
| 37 | + "css-prefers-color-scheme": "^5.0.0", |
| 38 | + "cssdb": "^5.0.0", |
| 39 | + "postcss": "^8.3", |
| 40 | + "postcss-attribute-case-insensitive": "^5.0.0", |
| 41 | + "postcss-color-functional-notation": "^4.0.0", |
| 42 | + "postcss-color-hex-alpha": "^8.0.0", |
| 43 | + "postcss-color-rebeccapurple": "^7.0.0", |
| 44 | + "postcss-custom-media": "^8.0.0", |
| 45 | + "postcss-custom-properties": "^12.0.0", |
| 46 | + "postcss-custom-selectors": "^6.0.0", |
| 47 | + "postcss-dir-pseudo-class": "^6.0.0", |
| 48 | + "postcss-double-position-gradients": "^3.0.0", |
| 49 | + "postcss-env-function": "^4.0.1", |
| 50 | + "postcss-focus-visible": "^6.0.1", |
| 51 | + "postcss-focus-within": "^5.0.1", |
| 52 | + "postcss-font-variant": "^5.0.0", |
| 53 | + "postcss-gap-properties": "^3.0.0", |
| 54 | + "postcss-image-set-function": "^4.0.0", |
| 55 | + "postcss-initial": "^3.0.4", |
| 56 | + "postcss-lab-function": "^4.0.0", |
| 57 | + "postcss-logical": "^5.0.0", |
| 58 | + "postcss-media-minmax": "^5.0.0", |
| 59 | + "postcss-nesting": "^10.0.0", |
| 60 | + "postcss-overflow-shorthand": "^3.0.0", |
| 61 | + "postcss-page-break": "^3.0.4", |
| 62 | + "postcss-place": "^7.0.0", |
| 63 | + "postcss-pseudo-class-any-link": "^7.0.0", |
| 64 | + "postcss-replace-overflow-wrap": "^4.0.0", |
| 65 | + "postcss-selector-not": "^5.0.0" |
67 | 66 | },
|
68 | 67 | "devDependencies": {
|
69 |
| - "@babel/core": "^7.5.0", |
70 |
| - "@babel/preset-env": "^7.5.2", |
71 |
| - "babel-eslint": "^10.0.2", |
72 |
| - "eslint": "^5.16.0", |
73 |
| - "eslint-config-dev": "^2.0.0", |
74 |
| - "postcss-simple-vars": "^5.0.2", |
75 |
| - "postcss-tape": "^4.0.0", |
| 68 | + "@babel/core": "^7.15.8", |
| 69 | + "@babel/preset-env": "^7.15.8", |
| 70 | + "eslint": "^8.1.0", |
| 71 | + "postcss-simple-vars": "^6.0.3", |
| 72 | + "postcss-tape": "^6.0.1", |
76 | 73 | "pre-commit": "^1.2.2",
|
77 |
| - "rollup": "^1.16.6", |
78 |
| - "rollup-plugin-babel": "^4.3.3" |
| 74 | + "rollup": "^2.58.3", |
| 75 | + "rollup-plugin-babel": "^4.4.0" |
| 76 | + }, |
| 77 | + "babel": { |
| 78 | + "presets": [ |
| 79 | + [ |
| 80 | + "@babel/env", |
| 81 | + { |
| 82 | + "targets": "maintained node versions" |
| 83 | + } |
| 84 | + ] |
| 85 | + ] |
79 | 86 | },
|
80 | 87 | "eslintConfig": {
|
81 |
| - "extends": "dev", |
82 |
| - "parser": "babel-eslint" |
| 88 | + "env": { |
| 89 | + "browser": true, |
| 90 | + "es6": true, |
| 91 | + "node": true |
| 92 | + }, |
| 93 | + "extends": "eslint:recommended", |
| 94 | + "parserOptions": { |
| 95 | + "ecmaVersion": 2020, |
| 96 | + "sourceType": "module" |
| 97 | + }, |
| 98 | + "root": true |
| 99 | + }, |
| 100 | + "rollup": { |
| 101 | + "input": "src/postcss.js", |
| 102 | + "plugins": [ |
| 103 | + "rollup-plugin-babel" |
| 104 | + ], |
| 105 | + "output": [ |
| 106 | + { |
| 107 | + "exports": "default", |
| 108 | + "file": "dist/index.js", |
| 109 | + "format": "cjs" |
| 110 | + }, |
| 111 | + { |
| 112 | + "file": "dist/index.mjs", |
| 113 | + "format": "esm" |
| 114 | + } |
| 115 | + ] |
83 | 116 | },
|
84 | 117 | "keywords": [
|
85 | 118 | "postcss",
|
|
0 commit comments