|
7 | 7 | "react" |
8 | 8 | ], |
9 | 9 | "homepage": "https://openscript.github.io/react-dsv-import/", |
10 | | - "version": "0.1.1", |
| 10 | + "version": "0.1.2", |
11 | 11 | "main": "dist/index.js", |
12 | 12 | "module": "dist/es/index.js", |
13 | 13 | "types": "dist/index.d.ts", |
|
23 | 23 | "@storybook/addons": "^5.3.18", |
24 | 24 | "@storybook/preset-typescript": "^3.0.0", |
25 | 25 | "@storybook/react": "^5.3.18", |
| 26 | + "@testing-library/jest-dom": "^5.5.0", |
| 27 | + "@testing-library/react": "^10.0.2", |
| 28 | + "@types/jest": "^25.2.1", |
26 | 29 | "@types/node": "^13.11.1", |
27 | 30 | "@types/react": "^16.9.34", |
28 | 31 | "@types/react-dom": "^16.9.6", |
|
34 | 37 | "eslint-config-prettier": "^6.10.1", |
35 | 38 | "eslint-plugin-prettier": "^3.1.3", |
36 | 39 | "eslint-plugin-react": "^7.19.0", |
| 40 | + "jest": "^25.3.0", |
37 | 41 | "prettier": "^2.0.4", |
38 | 42 | "react-is": "^16.13.1", |
39 | 43 | "rollup": "^2.6.1", |
| 44 | + "ts-jest": "^25.4.0", |
40 | 45 | "ts-node": "^8.8.2", |
41 | 46 | "tslib": "^1.11.1", |
42 | 47 | "typescript": "^3.8.3" |
43 | 48 | }, |
44 | 49 | "scripts": { |
45 | 50 | "build": "yarn build:rollup", |
46 | 51 | "dev": "yarn dev:storybook", |
47 | | - "test": "ts-node test/test.ts", |
| 52 | + "test": "jest --coverage", |
48 | 53 | "pretest": "yarn build", |
| 54 | + "dev:test": "jest --watchAll --coverage", |
49 | 55 | "dev:rollup": "rollup -c --w", |
50 | 56 | "dev:storybook": "start-storybook -p 6006", |
51 | 57 | "build:rollup": "rollup -c", |
|
0 commit comments