|
15 | 15 | "types": "./build/index.d.ts", |
16 | 16 | "default": "./build/index.js" |
17 | 17 | } |
18 | | - } |
| 18 | + }, |
| 19 | + "./style.css": "./build/style.css", |
| 20 | + "./style.scss": "./src/style.scss", |
| 21 | + "./build/style.css": "./build/style.css", |
| 22 | + "./src/style.scss": "./src/style.scss" |
19 | 23 | }, |
20 | 24 | "author": "Hernán Sartorio", |
21 | 25 | "license": "MIT", |
|
29 | 33 | "homepage": "https://github.com/hernansartorio/react-nice-dates#readme", |
30 | 34 | "files": [ |
31 | 35 | "build", |
32 | | - "src/style.scss", |
33 | | - "index.d.ts" |
| 36 | + "src/style.scss" |
34 | 37 | ], |
35 | 38 | "scripts": { |
36 | 39 | "start": "parcel website/index.html -d tmp", |
|
39 | 42 | "build:website": "rm -rf build-website/* && parcel build website/index.html -d build-website --experimental-scope-hoisting --no-content-hash && cp website/CNAME build-website/CNAME", |
40 | 43 | "deploy": "gh-pages -d build-website", |
41 | 44 | "dev:package": "tsup src/index.ts --watch", |
42 | | - "lint": "eslint --cache src", |
| 45 | + "lint": "eslint src test --ext .ts,.tsx", |
43 | 46 | "release": "yarn run build && np", |
44 | 47 | "test": "jest", |
45 | 48 | "test:watch": "jest --watch" |
|
57 | 60 | "@eslint/js": "^9.30.0", |
58 | 61 | "@testing-library/dom": "^10.4.0", |
59 | 62 | "@testing-library/jest-dom": "^6.6.3", |
60 | | - "@testing-library/react": "^16.0.1", |
| 63 | + "@testing-library/react": "^16.3.0", |
| 64 | + "@types/jest": "^30.0.0", |
61 | 65 | "@types/react": "^18", |
62 | 66 | "@types/react-dom": "^18", |
63 | 67 | "autoprefixer": "^9.7.3", |
64 | 68 | "date-fns": "^2.9.0", |
65 | 69 | "eslint": "^9.30.0", |
66 | 70 | "eslint-config-prettier": "^10.1.5", |
67 | 71 | "eslint-plugin-prettier": "^5.5.1", |
68 | | - "jest": "^24.9.0", |
| 72 | + "jest": "^30.0.3", |
| 73 | + "jest-environment-jsdom": "^30.0.2", |
69 | 74 | "parcel-bundler": "^1.12.4", |
70 | 75 | "parcel-plugin-prerender": "^1.4.1", |
71 | 76 | "postcss-cli": "^7.1.0", |
|
75 | 80 | "react-dom": "^18", |
76 | 81 | "react-test-renderer": "^18.3.1", |
77 | 82 | "sass": "^1.25.0", |
| 83 | + "ts-jest": "^29.4.0", |
78 | 84 | "tsup": "^8.5.0", |
79 | 85 | "typescript": "^5.8.3", |
80 | 86 | "typescript-eslint": "^8.35.0" |
|
0 commit comments