|
10 | 10 | "add-contributor": "kcd-scripts contributors add", |
11 | 11 | "build": "kcd-scripts build", |
12 | 12 | "lint": "kcd-scripts lint", |
13 | | - "test": "echo TODO", |
14 | | - "test:ci": "echo TODO", |
15 | | - "test:update": "npm test -- --updateSnapshot --coverage", |
| 13 | + "test": "npm-run-all --parallel test:unit test:cypress", |
| 14 | + "test:unit": "kcd-scripts test --no-watch", |
| 15 | + "test:unit:watch": "kcd-scripts test", |
| 16 | + "test:cypress:serve": "serve --clipless --local --port 13370 ./cypress/fixtures/test-app", |
| 17 | + "test:cypress:run": "cypress run", |
| 18 | + "test:cypress:open": "cypress open", |
| 19 | + "test:cypress": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:run", |
| 20 | + "test:cypress:dev": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:open", |
16 | 21 | "validate": "kcd-scripts validate build,lint,test", |
17 | 22 | "setup": "npm install && npm run validate -s", |
18 | 23 | "precommit": "kcd-scripts precommit" |
|
34 | 39 | "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)", |
35 | 40 | "license": "MIT", |
36 | 41 | "dependencies": { |
37 | | - "dom-testing-library": "^1.0.0" |
| 42 | + "dom-testing-library": "^1.3.0" |
38 | 43 | }, |
39 | 44 | "devDependencies": { |
40 | | - "kcd-scripts": "^0.36.1" |
| 45 | + "cypress": "^2.1.0", |
| 46 | + "kcd-scripts": "^0.37.0", |
| 47 | + "npm-run-all": "^4.1.2", |
| 48 | + "serve": "^6.5.4" |
41 | 49 | }, |
42 | 50 | "peerDependencies": { |
43 | 51 | "cypress": "^2.1.0" |
44 | 52 | }, |
45 | 53 | "eslintConfig": { |
46 | | - "extends": "./node_modules/kcd-scripts/eslint.js" |
| 54 | + "extends": "./node_modules/kcd-scripts/eslint.js", |
| 55 | + "rules": { |
| 56 | + "import/prefer-default-export": "off", |
| 57 | + "import/no-unassigned-import": "off" |
| 58 | + } |
47 | 59 | }, |
48 | 60 | "eslintIgnore": [ |
49 | 61 | "node_modules", |
|
0 commit comments