|
1 | 1 | { |
2 | 2 | "name": "react-spreadsheet-import", |
3 | | - "version": "4.1.2", |
| 3 | + "version": "4.2.1", |
4 | 4 | "description": "React spreadsheet import for xlsx and csv files with column matching and validation", |
5 | 5 | "main": "./dist-commonjs/index.js", |
6 | 6 | "module": "./dist/index.js", |
|
12 | 12 | ], |
13 | 13 | "scripts": { |
14 | 14 | "start": "storybook dev -p 6006", |
15 | | - "test": "jest", |
| 15 | + "test:unit": "jest", |
| 16 | + "test:e2e": "npx playwright test", |
| 17 | + "test:chromatic": "npx chromatic ", |
16 | 18 | "ts": "tsc", |
17 | 19 | "lint": "eslint \"src/**/*.{ts,tsx}\"", |
18 | 20 | "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix", |
19 | 21 | "prebuild": "npm run clean", |
20 | 22 | "build": "rollup -c rollup.config.ts", |
21 | 23 | "build-storybook": "storybook build -o docs-build", |
22 | | - "release:patch": "git checkout master && git pull && npm run test && npm run ts && npm run build && npm version patch && git add -A && git push && git push --tags && npm publish", |
23 | | - "release:minor": "git checkout master && git pull && npm run test && npm run ts && npm run build && npm version minor && git add -A && git push && git push --tags && npm publish", |
24 | | - "release:major": "git checkout master && git pull && npm run test && npm run ts && npm run build && npm version major && git add -A && git push && git push --tags && npm publish", |
| 24 | + "release:patch": "git checkout master && git pull && npm run test:unit && npm run ts && npm run build && npm version patch && git add -A && git push && git push --tags && npm publish", |
| 25 | + "release:minor": "git checkout master && git pull && npm run test:unit && npm run ts && npm run build && npm version minor && git add -A && git push && git push --tags && npm publish", |
| 26 | + "release:major": "git checkout master && git pull && npm run test:unit && npm run ts && npm run build && npm version major && git add -A && git push && git push --tags && npm publish", |
25 | 27 | "clean": "rimraf dist dist-commonjs types" |
26 | 28 | }, |
27 | 29 | "repository": { |
|
39 | 41 | "automatic", |
40 | 42 | "match" |
41 | 43 | ], |
42 | | - "author": "Ugnis", |
| 44 | + "author": { |
| 45 | + "name": "Ugnis" |
| 46 | + }, |
43 | 47 | "license": "MIT", |
44 | 48 | "bugs": { |
45 | 49 | "url": "https://github.com/UgnisSoftware/react-spreadsheet-import/issues" |
|
71 | 75 | "@babel/preset-typescript": "7.21.5", |
72 | 76 | "@emotion/jest": "11.11.0", |
73 | 77 | "@jest/types": "27.5.1", |
| 78 | + "@playwright/test": "^1.39.0", |
74 | 79 | "@storybook/addon-essentials": "7.0.14", |
75 | 80 | "@storybook/addon-interactions": "7.0.14", |
76 | 81 | "@storybook/addon-links": "7.0.14", |
|
85 | 90 | "@testing-library/user-event": "14.4.3", |
86 | 91 | "@types/jest": "27.4.1", |
87 | 92 | "@types/js-levenshtein": "1.1.1", |
| 93 | + "@types/node": "^20.8.7", |
88 | 94 | "@types/react": "18.2.6", |
89 | 95 | "@types/react-dom": "18.2.4", |
90 | 96 | "@types/styled-system": "5.1.16", |
91 | 97 | "@types/uuid": "9.0.1", |
92 | 98 | "@typescript-eslint/eslint-plugin": "5.59.7", |
93 | 99 | "@typescript-eslint/parser": "5.59.7", |
94 | 100 | "babel-loader": "9.1.2", |
| 101 | + "chromatic": "^7.4.0", |
95 | 102 | "eslint": "8.41.0", |
96 | 103 | "eslint-config-prettier": "8.8.0", |
97 | 104 | "eslint-plugin-prettier": "4.2.1", |
|
144 | 151 | "moduleNameMapper": { |
145 | 152 | "~/(.*)": "<rootDir>/src/$1" |
146 | 153 | }, |
| 154 | + "modulePathIgnorePatterns": [ |
| 155 | + "<rootDir>/e2e/" |
| 156 | + ], |
147 | 157 | "transformIgnorePatterns": [ |
148 | 158 | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$" |
149 | 159 | ], |
|
162 | 172 | "jest-watch-typeahead/filename", |
163 | 173 | "jest-watch-typeahead/testname" |
164 | 174 | ] |
165 | | - } |
| 175 | + }, |
| 176 | + "readme": "ERROR: No README data found!" |
166 | 177 | } |
0 commit comments