|
1 | 1 | {
|
2 | 2 | "name": "postcss-double-position-gradients",
|
3 |
| - "version": "1.0.0", |
| 3 | + "version": "2.0.0", |
4 | 4 | "description": "Use double-position gradients in CSS",
|
5 | 5 | "author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
6 | 6 | "license": "CC0-1.0",
|
7 |
| - "repository": "jonathantneal/postcss-double-position-gradients", |
8 |
| - "homepage": "https://github.com/jonathantneal/postcss-double-position-gradients#readme", |
9 |
| - "bugs": "https://github.com/jonathantneal/postcss-double-position-gradients/issues", |
10 |
| - "main": "index.cjs.js", |
11 |
| - "module": "index.es.mjs", |
| 7 | + "repository": "csstools/postcss-double-position-gradients", |
| 8 | + "homepage": "https://github.com/csstools/postcss-double-position-gradients#readme", |
| 9 | + "bugs": "https://github.com/csstools/postcss-double-position-gradients/issues", |
| 10 | + "main": "dist/index.js", |
| 11 | + "module": "dist/index.mjs", |
12 | 12 | "files": [
|
13 |
| - "index.cjs.js", |
14 |
| - "index.cjs.js.map", |
15 |
| - "index.es.mjs", |
16 |
| - "index.es.mjs.map" |
| 13 | + "dist" |
17 | 14 | ],
|
18 | 15 | "scripts": {
|
19 |
| - "prepublishOnly": "npm test", |
20 |
| - "pretest": "rollup -c .rollup.js --silent", |
21 |
| - "test": "npm run test:js && npm run test:tape", |
22 |
| - "test:js": "eslint *.js --cache --ignore-path .gitignore --quiet", |
23 |
| - "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" |
24 | 24 | },
|
25 | 25 | "engines": {
|
26 |
| - "node": ">=6.0.0" |
| 26 | + "node": ">=10.0.0" |
27 | 27 | },
|
28 | 28 | "dependencies": {
|
29 |
| - "postcss": "^7.0.5", |
30 |
| - "postcss-values-parser": "^2.0.0" |
| 29 | + "postcss": "^7.0.27", |
| 30 | + "postcss-values-parser": "^3.2.1" |
31 | 31 | },
|
32 | 32 | "devDependencies": {
|
33 |
| - "@babel/core": "^7.1.2", |
34 |
| - "@babel/plugin-syntax-dynamic-import": "^7.0.0", |
35 |
| - "@babel/preset-env": "^7.1.0", |
36 |
| - "babel-eslint": "^10.0.1", |
37 |
| - "eslint": "^5.8.0", |
38 |
| - "eslint-config-dev": "^2.0.0", |
39 |
| - "postcss-tape": "^2.2.0", |
| 33 | + "@babel/core": "^7.9.0", |
| 34 | + "@babel/preset-env": "^7.9.5", |
| 35 | + "babel-eslint": "^10.1.0", |
| 36 | + "eslint": "^6.8.0", |
| 37 | + "postcss-tape": "^5.0.2", |
40 | 38 | "pre-commit": "^1.2.2",
|
41 |
| - "rollup": "^0.66.6", |
42 |
| - "rollup-plugin-babel": "^4.0.3" |
| 39 | + "rollup": "^2.7.2", |
| 40 | + "rollup-plugin-babel": "^4.4.0" |
| 41 | + }, |
| 42 | + "babel": { |
| 43 | + "presets": [ |
| 44 | + [ |
| 45 | + "@babel/env", |
| 46 | + { |
| 47 | + "targets": "maintained node versions" |
| 48 | + } |
| 49 | + ] |
| 50 | + ] |
43 | 51 | },
|
44 | 52 | "eslintConfig": {
|
45 |
| - "extends": "dev", |
| 53 | + "env": { |
| 54 | + "es6": true, |
| 55 | + "node": true |
| 56 | + }, |
| 57 | + "extends": "eslint:recommended", |
46 | 58 | "parser": "babel-eslint"
|
47 | 59 | },
|
| 60 | + "rollup": { |
| 61 | + "input": "src/index.js", |
| 62 | + "plugins": [ |
| 63 | + "rollup-plugin-babel" |
| 64 | + ], |
| 65 | + "output": [ |
| 66 | + { |
| 67 | + "file": "dist/index.js", |
| 68 | + "format": "cjs" |
| 69 | + }, |
| 70 | + { |
| 71 | + "file": "dist/index.mjs", |
| 72 | + "format": "esm" |
| 73 | + } |
| 74 | + ] |
| 75 | + }, |
48 | 76 | "keywords": [
|
49 | 77 | "postcss",
|
50 | 78 | "css",
|
|
0 commit comments