|
4 | 4 | "description": "Present Cloudinary images and videos using React components", |
5 | 5 | "main": "lib/index.js", |
6 | 6 | "scripts": { |
7 | | - "test": "jest", |
8 | | - "test:build": "npm run build && TEST_ENV=PRODUCTION npm run test", |
9 | | - "test:all": "run-s build test test:build test:e2e", |
| 7 | + "test": "run-s test:unit test:build test:e2e", |
| 8 | + "test:unit": "jest", |
| 9 | + "test:build": "TEST_ENV=PRODUCTION npm run test", |
10 | 10 | "test:e2e": "cd ./e2e-test && npm run test", |
11 | 11 | "test:coverage": "jest --coverage", |
12 | | - "pretest:e2e": "npm run build && npm pack && cpy cloudinary-react-*.tgz e2e-test --rename=cloudinary-react.tgz", |
| 12 | + "pretest:e2e": "npm pack && cpy cloudinary-react-*.tgz e2e-test --rename=cloudinary-react.tgz", |
13 | 13 | "prebuild": "node_modules/.bin/babel src --out-dir lib --copy-files ", |
14 | 14 | "build": "node_modules/.bin/webpack && npm run bundlewatch", |
15 | 15 | "bundlewatch": "bundlewatch --config ./bundlewatch.config.js", |
|
35 | 35 | "@babel/preset-env": "^7.2.0", |
36 | 36 | "@babel/preset-react": "^7.0.0", |
37 | 37 | "@babel/register": "^7.0.0", |
| 38 | + "@jest/reporters": "^26.6.2", |
38 | 39 | "@storybook/addon-actions": "^4.1.2", |
39 | 40 | "@storybook/addon-info": "^4.1.2", |
40 | 41 | "@storybook/addon-links": "^4.1.2", |
|
0 commit comments