|
15 | 15 | "license": "MIT", |
16 | 16 | "repository": "postcss/postcss-js", |
17 | 17 | "scripts": { |
18 | | - "unit": "jest", |
19 | | - "test": "jest --coverage && eslint ." |
| 18 | + "unit": "uvu test \"\\.test\\.js$\"", |
| 19 | + "test": "c8 pnpm unit && eslint ." |
20 | 20 | }, |
21 | 21 | "engines": { |
22 | 22 | "node": ">=10.0" |
|
42 | 42 | }, |
43 | 43 | "devDependencies": { |
44 | 44 | "@logux/eslint-config": "^46.1.1", |
| 45 | + "c8": "^7.11.0", |
45 | 46 | "clean-publish": "^3.4.4", |
46 | 47 | "eslint": "^8.6.0", |
47 | 48 | "eslint-config-standard": "^16.0.3", |
48 | | - "eslint-plugin-import": "^2.25.3", |
| 49 | + "eslint-plugin-import": "^2.25.4", |
49 | 50 | "eslint-plugin-node": "^11.1.0", |
50 | 51 | "eslint-plugin-prefer-let": "^3.0.1", |
51 | 52 | "eslint-plugin-promise": "^6.0.0", |
52 | | - "jest": "^27.4.6" |
| 53 | + "uvu": "^0.5.3" |
| 54 | + }, |
| 55 | + "prettier": { |
| 56 | + "arrowParens": "avoid", |
| 57 | + "jsxSingleQuote": false, |
| 58 | + "quoteProps": "consistent", |
| 59 | + "semi": false, |
| 60 | + "singleQuote": true, |
| 61 | + "trailingComma": "none" |
53 | 62 | }, |
54 | 63 | "eslintConfig": { |
55 | 64 | "extends": "@logux/eslint-config", |
56 | 65 | "rules": { |
57 | 66 | "no-console": "off" |
58 | | - }, |
59 | | - "globals": { |
60 | | - "beforeEach": "readonly", |
61 | | - "beforeAll": "readonly", |
62 | | - "afterAll": "readonly", |
63 | | - "it": "readonly", |
64 | | - "expect": "readonly" |
65 | 67 | } |
66 | 68 | }, |
67 | 69 | "jest": { |
|
0 commit comments