|
16 | 16 | "build:win": "rimraf dist && yarn svg:win && yarn build:prod", |
17 | 17 | "build:dev": "webpack --mode development --progress --display-error-details --display-entrypoints --watch", |
18 | 18 | "build:prod": "webpack --mode production", |
19 | | - "lint": "eslint src/ --ext .ts", |
| 19 | + "lint": "eslint src/ --ext .ts && yarn lint:tests", |
20 | 20 | "lint:errors": "eslint src/ --ext .ts --quiet", |
21 | 21 | "lint:fix": "eslint src/ --ext .ts --fix", |
| 22 | + "lint:tests": "eslint test/ --ext .ts", |
22 | 23 | "svg:win": "if not exist dist md dist && yarn svg", |
23 | 24 | "svg": "svg-sprite-generate -d src/assets/ -o dist/sprite.svg", |
24 | 25 | "pull_tools": "git submodule update --init --recursive", |
25 | | - "checkout_tools": "git submodule foreach git pull origin master" |
| 26 | + "checkout_tools": "git submodule foreach git pull origin master", |
| 27 | + "test:e2e": "cypress open" |
26 | 28 | }, |
27 | 29 | "author": "CodeX", |
28 | 30 | "license": "Apache-2.0", |
|
46 | 48 | "core-js": "3.6.5", |
47 | 49 | "css-loader": "^3.5.3", |
48 | 50 | "cssnano": "^4.1.10", |
| 51 | + "cypress": "^5.5.0", |
49 | 52 | "eslint": "^6.8.0", |
50 | 53 | "eslint-config-codex": "^1.3.3", |
51 | 54 | "eslint-loader": "^4.0.2", |
| 55 | + "eslint-plugin-cypress": "^2.11.2", |
52 | 56 | "extract-text-webpack-plugin": "^3.0.2", |
53 | 57 | "html-janitor": "^2.0.4", |
54 | 58 | "license-webpack-plugin": "^2.1.4", |
|
0 commit comments