|  | 
| 4 | 4 |   "description": "A CSS Modules transform to extract export statements from local-scope classes", | 
| 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 |   "scripts": { | 
| 10 |  | -    "lint": "eslint src test", | 
|  | 10 | +    "prettier": "prettier -l --ignore-path .gitignore . \"!test/test-cases\"", | 
|  | 11 | +    "eslint": "eslint --ignore-path .gitignore .", | 
|  | 12 | +    "lint": "yarn eslint && yarn prettier", | 
| 11 | 13 |     "pretest": "yarn lint", | 
| 12 |  | -    "test": "mocha", | 
| 13 |  | -    "autotest": "chokidar src test -c 'yarn test'", | 
| 14 |  | -    "precover": "yarn lint", | 
| 15 |  | -    "cover": "nyc mocha", | 
| 16 |  | -    "travis": "yarn cover", | 
| 17 |  | -    "prepublish": "yarn run test" | 
|  | 14 | +    "test": "jest", | 
|  | 15 | +    "autotest": "jest --watch", | 
|  | 16 | +    "cover": "jest --coverage --collectCoverageFrom=\"src/**/*\"", | 
|  | 17 | +    "ci": "yarn pretest && yarn cover", | 
|  | 18 | +    "prepublishOnly": "yarn test" | 
| 18 | 19 |   }, | 
| 19 | 20 |   "repository": { | 
| 20 | 21 |     "type": "git", | 
|  | 
| 34 | 35 |     "url": "https://github.com/css-modules/postcss-modules-scope/issues" | 
| 35 | 36 |   }, | 
| 36 | 37 |   "homepage": "https://github.com/css-modules/postcss-modules-scope", | 
| 37 |  | -  "prettier": { | 
| 38 |  | -    "semi": true, | 
| 39 |  | -    "singleQuote": true, | 
| 40 |  | -    "trailingComma": "es5" | 
| 41 |  | -  }, | 
| 42 | 38 |   "dependencies": { | 
| 43 |  | -    "postcss": "^7.0.6", | 
| 44 |  | -    "postcss-selector-parser": "^6.0.0" | 
|  | 39 | +    "postcss-selector-parser": "^6.0.3" | 
| 45 | 40 |   }, | 
| 46 | 41 |   "devDependencies": { | 
| 47 | 42 |     "cssesc": "^3.0.0", | 
| 48 |  | -    "chokidar-cli": "^1.0.1", | 
| 49 |  | -    "codecov.io": "^0.1.2", | 
| 50 |  | -    "coveralls": "^3.0.2", | 
| 51 |  | -    "eslint": "^5.9.0", | 
| 52 |  | -    "mocha": "^6.0.2", | 
| 53 |  | -    "nyc": "^14.1.0" | 
|  | 43 | +    "eslint": "^7.9.0", | 
|  | 44 | +    "jest": "^26.4.2", | 
|  | 45 | +    "postcss": "^8.0.3", | 
|  | 46 | +    "prettier": "^2.1.2" | 
|  | 47 | +  }, | 
|  | 48 | +  "peerDependencies": { | 
|  | 49 | +    "postcss": "^8.0.0" | 
| 54 | 50 |   } | 
| 55 | 51 | } | 
0 commit comments