|
4 | 4 | "description": "A CSS Modules transform to extract local aliases for inline imports",
|
5 | 5 | "main": "src/index.js",
|
6 | 6 | "engines": {
|
7 |
| - "node": ">= 6" |
| 7 | + "node": ">= 10.13.0 || >= 12.13.0 || >= 14" |
8 | 8 | },
|
9 | 9 | "files": [
|
10 | 10 | "src"
|
11 | 11 | ],
|
12 | 12 | "scripts": {
|
| 13 | + "prettier": "prettier -l --ignore-path .gitignore . \"!test/test-cases\"", |
| 14 | + "eslint": "eslint --ignore-path .gitignore .", |
| 15 | + "lint": "yarn eslint && yarn prettier", |
| 16 | + "pretest": "yarn lint", |
13 | 17 | "test": "jest --coverage",
|
14 |
| - "precommit": "lint-staged", |
15 |
| - "prepublish": "yarn run test" |
16 |
| - }, |
17 |
| - "lint-staged": { |
18 |
| - "*.js": [ |
19 |
| - "prettier --single-quote --no-semi --write", |
20 |
| - "git add" |
21 |
| - ] |
| 18 | + "autotest": "jest --coverage --watch", |
| 19 | + "cover": "jest --coverage", |
| 20 | + "ci": "yarn pretest && yarn cover", |
| 21 | + "prepublishOnly": "yarn test" |
22 | 22 | },
|
23 | 23 | "repository": {
|
24 | 24 | "type": "git",
|
|
35 | 35 | "url": "https://github.com/css-modules/postcss-modules-extract-imports/issues"
|
36 | 36 | },
|
37 | 37 | "homepage": "https://github.com/css-modules/postcss-modules-extract-imports",
|
38 |
| - "dependencies": { |
39 |
| - "postcss": "^7.0.5" |
40 |
| - }, |
41 | 38 | "devDependencies": {
|
42 |
| - "codecov.io": "^0.1.2", |
43 |
| - "coveralls": "^2.11.2", |
44 |
| - "husky": "^0.13.3", |
45 |
| - "jest": "^20.0.3", |
46 |
| - "lint-staged": "^3.4.2", |
47 |
| - "prettier": "^1.3.1" |
| 39 | + "codecov.io": "^0.1.6", |
| 40 | + "coveralls": "^3.1.0", |
| 41 | + "eslint": "^7.9.0", |
| 42 | + "husky": "^4.3.0", |
| 43 | + "jest": "^26.4.2", |
| 44 | + "lint-staged": "^10.4.0", |
| 45 | + "postcss": "^8.0.6", |
| 46 | + "prettier": "^2.1.2" |
| 47 | + }, |
| 48 | + "peerDependencies": { |
| 49 | + "postcss": "^8.0.6" |
48 | 50 | }
|
49 | 51 | }
|
0 commit comments