|
1 | 1 | {
|
| 2 | + "type": "module", |
2 | 3 | "scripts": {
|
3 | 4 | "build": "run-s type:check clean rollup",
|
4 | 5 | "clean": "rimraf dist",
|
5 | 6 | "coverage": "jest --coverage",
|
6 |
| - "nollup": "cross-env NODE_ENV=development nollup -c --hot --content-base public", |
| 7 | + "nollup": "cross-env NODE_ENV=development nollup -c --verbose --hot --content-base public", |
7 | 8 | "rollup": "cross-env NODE_ENV=production rollup -c",
|
8 | 9 | "serve": "sirv dist",
|
9 | 10 | "start": "run-p nollup type:watch",
|
|
12 | 13 | "type:watch": "tsc --noEmit --watch"
|
13 | 14 | },
|
14 | 15 | "dependencies": {
|
15 |
| - "solid-js": "^0.23.9" |
| 16 | + "solid-js": "^1.1.2" |
16 | 17 | },
|
17 | 18 | "devDependencies": {
|
18 |
| - "@babel/core": "^7.12.10", |
19 |
| - "@babel/preset-env": "^7.12.11", |
20 |
| - "@babel/preset-typescript": "^7.12.7", |
21 |
| - "@rollup/plugin-babel": "^5.2.2", |
22 |
| - "@rollup/plugin-commonjs": "^17.0.0", |
23 |
| - "@rollup/plugin-node-resolve": "^11.0.1", |
24 |
| - "@rollup/plugin-replace": "^2.3.4", |
25 |
| - "@rollup/plugin-url": "^6.0.0", |
26 |
| - "@testing-library/dom": "^7.29.1", |
27 |
| - "@testing-library/jest-dom": "^5.11.8", |
28 |
| - "@types/jest": "^26.0.19", |
29 |
| - "@typescript-eslint/eslint-plugin": "^4.12.0", |
30 |
| - "@typescript-eslint/parser": "^4.12.0", |
31 |
| - "babel-eslint": "^10.1.0", |
32 |
| - "babel-preset-solid": "^0.23.8", |
| 19 | + "@babel/core": "^7.15.5", |
| 20 | + "@babel/eslint-parser": "^7.15.4", |
| 21 | + "@babel/preset-env": "^7.15.4", |
| 22 | + "@babel/preset-typescript": "^7.15.0", |
| 23 | + "@rollup/plugin-babel": "^5.3.0", |
| 24 | + "@rollup/plugin-commonjs": "^20.0.0", |
| 25 | + "@rollup/plugin-node-resolve": "^13.0.4", |
| 26 | + "@rollup/plugin-replace": "^3.0.0", |
| 27 | + "@rollup/plugin-url": "^6.1.0", |
| 28 | + "@testing-library/jest-dom": "^5.14.1", |
| 29 | + "@types/jest": "^27.0.1", |
| 30 | + "@typescript-eslint/eslint-plugin": "^4.31.0", |
| 31 | + "@typescript-eslint/parser": "^4.31.0", |
| 32 | + "babel-jest": "^27.1.0", |
| 33 | + "babel-plugin-transform-import-meta": "^2.0.0", |
| 34 | + "babel-plugin-tsconfig-paths": "^1.0.1", |
| 35 | + "babel-preset-solid": "^1.1.2", |
33 | 36 | "cross-env": "^7.0.3",
|
34 |
| - "eslint": "^7.17.0", |
35 |
| - "eslint-config-prettier": "^7.1.0", |
36 |
| - "eslint-plugin-import": "^2.22.1", |
37 |
| - "eslint-plugin-jest": "^24.1.3", |
38 |
| - "eslint-plugin-jest-dom": "^3.6.5", |
| 37 | + "eslint": "^7.32.0", |
| 38 | + "eslint-config-prettier": "^8.3.0", |
| 39 | + "eslint-import-resolver-typescript": "^2.4.0", |
| 40 | + "eslint-plugin-import": "^2.24.2", |
| 41 | + "eslint-plugin-jest": "^24.4.0", |
| 42 | + "eslint-plugin-jest-dom": "^3.9.0", |
39 | 43 | "eslint-plugin-jsx-a11y": "^6.4.1",
|
40 | 44 | "eslint-plugin-local": "^1.0.0",
|
41 |
| - "eslint-plugin-prettier": "^3.3.1", |
42 |
| - "eslint-plugin-testing-library": "^3.10.1", |
43 |
| - "jest": "^26.6.3", |
44 |
| - "nollup": "^0.14.4", |
| 45 | + "eslint-plugin-prettier": "^4.0.0", |
| 46 | + "eslint-plugin-testing-library": "^4.12.1", |
| 47 | + "eslint-plugin-unicorn": "^35.0.0", |
| 48 | + "jest": "^27.1.0", |
| 49 | + "nollup": "^0.18.3", |
45 | 50 | "npm-run-all": "^4.1.5",
|
46 |
| - "prettier": "^2.2.1", |
| 51 | + "prettier": "^2.3.2", |
47 | 52 | "rimraf": "^3.0.2",
|
48 |
| - "rollup": "^2.36.1", |
49 |
| - "rollup-plugin-hot-css": "0.4.0", |
50 |
| - "rollup-plugin-static-files": "0.1.0", |
| 53 | + "rollup": "^2.56.3", |
| 54 | + "rollup-plugin-hot-css": "0.5.1", |
| 55 | + "rollup-plugin-static-files": "0.2.0", |
51 | 56 | "rollup-plugin-terser": "^7.0.2",
|
52 |
| - "sirv-cli": "^1.0.10", |
53 |
| - "ts-jest": "^26.4.4", |
54 |
| - "typescript": "^4.1.3" |
| 57 | + "sirv-cli": "^1.0.14", |
| 58 | + "solid-jest": "^0.2.0", |
| 59 | + "solid-testing-library": "^0.2.1", |
| 60 | + "ts-jest": "^27.0.5", |
| 61 | + "typescript": "^4.4.2" |
55 | 62 | },
|
56 | 63 | "jest": {
|
57 |
| - "globals": { |
58 |
| - "ts-jest": { |
59 |
| - "babelConfig": true |
60 |
| - } |
61 |
| - }, |
62 | 64 | "roots": [
|
63 | 65 | "src"
|
64 | 66 | ],
|
65 |
| - "preset": "ts-jest", |
| 67 | + "preset": "solid-jest/preset/browser", |
66 | 68 | "moduleDirectories": [
|
67 | 69 | "node_modules",
|
68 | 70 | "src"
|
|
0 commit comments