|
5 | 5 | "description": "A JavaScript polyfill for CSS if() functionality with style(), media(), and supports() functions", |
6 | 6 | "repository": { |
7 | 7 | "type": "git", |
8 | | - "url": "https://github.com/mfranzke/css-if-polyfill.git" |
| 8 | + "url": "git+https://github.com/mfranzke/css-if-polyfill.git" |
9 | 9 | }, |
10 | 10 | "homepage": "https://github.com/mfranzke/css-if-polyfill#readme", |
11 | 11 | "bugs": { |
|
18 | 18 | "module": "dist/index.modern.js", |
19 | 19 | "exports": { |
20 | 20 | ".": { |
21 | | - "types": "./dist/index.d.ts", |
22 | | - "require": "./dist/index.cjs", |
23 | | - "import": "./dist/index.modern.js" |
| 21 | + "require": { |
| 22 | + "types": "./dist/index.d.cts", |
| 23 | + "default": "./dist/index.cjs" |
| 24 | + }, |
| 25 | + "import": { |
| 26 | + "types": "./dist/index.d.ts", |
| 27 | + "default": "./dist/index.modern.js" |
| 28 | + } |
24 | 29 | } |
25 | 30 | }, |
26 | 31 | "files": [ |
|
43 | 48 | "changeset:version": "changeset version", |
44 | 49 | "codestyle": "prettier . --write", |
45 | 50 | "dev": "microbundle watch", |
46 | | - "lint": "npm-run-all -p lint:*", |
| 51 | + "lint": "npm-run-all --parallel lint:*", |
47 | 52 | "lint:markdownlint": "markdownlint -c .config/.markdown-lint.yml **/*.md", |
48 | 53 | "lint:xo": "xo", |
| 54 | + "postbuild": "cp dist/index.d.ts dist/index.d.cts", |
49 | 55 | "prepare": "husky", |
50 | 56 | "prepublishOnly": "npm run build", |
51 | 57 | "pretest:packing": "npm run build", |
52 | 58 | "serve": "http-server -p 3000 -o examples", |
53 | | - "test": "npm-run-all -p test:jest test:packing", |
| 59 | + "test": "npm-run-all --sequential test:*", |
54 | 60 | "test:jest": "jest --testEnvironment=jsdom", |
55 | 61 | "test:jest:watch": "jest --testEnvironment=jsdom --watch", |
56 | 62 | "test:packing": "publint" |
|
0 commit comments