cra-template-dvhb
Advanced tools
Comparing version 1.5.0-with-styled-components.1 to 1.5.0
@@ -1,7 +0,13 @@ | ||
# [1.5.0-with-styled-components.1](https://github.com/dvhb/template-react/compare/v1.4.4...v1.5.0-with-styled-components.1) (2020-02-14) | ||
# [1.5.0](https://github.com/dvhb/template-react/compare/v1.4.4...v1.5.0) (2020-08-12) | ||
### Bug Fixes | ||
* **ci:** cypress ([c0cf646](https://github.com/dvhb/template-react/commit/c0cf646983b0d3a1e8218369f08a81c0bf3ae6ab)) | ||
* **ci:** cypress ([36b6a77](https://github.com/dvhb/template-react/commit/36b6a7751f1d2a3f0e39ddb9e4a195edf021de3d)) | ||
### Features | ||
* set up styled-components with theme ([1c31f99](https://github.com/dvhb/template-react/commit/1c31f999d9c46ce7cfa85889914140048c9eb463)) | ||
* add cypress ([fc8e003](https://github.com/dvhb/template-react/commit/fc8e00340da1584ee3d6ae910cf7ffccbbfa63c5)) | ||
@@ -8,0 +14,0 @@ ## [1.4.4](https://github.com/dvhb/template-react/compare/v1.4.3...v1.4.4) (2020-02-14) |
{ | ||
"name": "cra-template-dvhb", | ||
"version": "1.5.0-with-styled-components.1", | ||
"version": "1.5.0", | ||
"description": "The base template for dvhb web app.", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
"semantic-release": "semantic-release", | ||
"test": "cd template && npm i && npm run tsc && npm run lint && cp .env.example .env && SKIP_PREFLIGHT_CHECK=true npm run build " | ||
"test": "cd template && npm i && npm run tsc && npm run lint && cp .env.example .env && npm run build" | ||
}, | ||
@@ -33,0 +33,0 @@ "husky": { |
@@ -9,3 +9,5 @@ { | ||
"storybook:build": "build-storybook -o build/storybook -s public", | ||
"test": "craco test" | ||
"test": "craco test", | ||
"test:cypress:open": "node tools/cypress/cypress-open.js", | ||
"test:cypress:ci": "node tools/cypress/cypress-ci.js" | ||
}, | ||
@@ -20,3 +22,2 @@ "husky": { | ||
"dependencies": { | ||
"@callstack/react-theme-provider": "^2.1.0", | ||
"@commitlint/cli": "^8.1.0", | ||
@@ -39,5 +40,4 @@ "@commitlint/config-conventional": "^8.1.0", | ||
"@types/react-dom": "^16.9.0", | ||
"@types/styled-components": "^4.4.3", | ||
"babel-plugin-styled-components": "^1.10.7", | ||
"classnames": "^2.2.6", | ||
"cypress": "^4.10.0", | ||
"husky": "^4.2.1", | ||
@@ -49,4 +49,3 @@ "lint-staged": "^10.0.7", | ||
"react-dom": "^16.12.0", | ||
"react-scripts": "3.3.1", | ||
"styled-components": "^5.0.1", | ||
"react-scripts": "3.4.1", | ||
"tslint": "^6.0.0", | ||
@@ -53,0 +52,0 @@ "typescript": "~3.7.2" |
@@ -5,3 +5,2 @@ const path = require('path'); | ||
babel: { | ||
plugins: ['babel-plugin-styled-components'], | ||
}, | ||
@@ -8,0 +7,0 @@ typescript: { |
@@ -13,2 +13,17 @@ # dvhb web app | ||
- storybook `5.3.12` | ||
- styled-components `5.0.1` | ||
## E2E tests | ||
To run e2e tests use the following commands (tests will be launched in the dev environment): | ||
- with ui: `npm run test:cypress:open` | ||
- headless: `npm run test:cypress:ci` | ||
If you want to launch tests in other environment use: | ||
- with ui: `npm run test:cypress:open {env}` | ||
- headless: `npm run test:cypress:ci {env}` | ||
where {env} is one of `local/dev/stage`, e.g. `npm run test:cypress:open stage`. | ||
Note: run `npm start` before launch tests in local environment. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
51506
63
540
1