mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-10-05 19:17:06 +03:00
3fcb761637
Bumps [cypress](https://github.com/cypress-io/cypress) from 3.8.3 to 4.3.0. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Commits](https://github.com/cypress-io/cypress/compare/v3.8.3...v4.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
75 lines
1.7 KiB
JSON
75 lines
1.7 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*",
|
|
"templates/*",
|
|
"examples/*",
|
|
"docs"
|
|
],
|
|
"scripts": {
|
|
"start": "yarn workspace @mdx-deck/docs start",
|
|
"build": "yarn workspace @mdx-deck/docs build",
|
|
"export": "./packages/export/cli.js http://localhost:8000/print -o docs/public/deck.pdf",
|
|
"cypress:open": "cypress open",
|
|
"cypress:run": "cypress run",
|
|
"test:dev": "start-server-and-test start http://localhost:8000 cypress:open",
|
|
"jest": "jest",
|
|
"test": "jest && start-server-and-test start http://localhost:8000 cypress:run"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.4",
|
|
"@babel/preset-env": "^7.8.4",
|
|
"@babel/preset-react": "^7.8.3",
|
|
"@testing-library/react": "^10.0.2",
|
|
"cypress": "^4.3.0",
|
|
"husky": "^4.2.1",
|
|
"jest": "^25.1.0",
|
|
"jest-emotion": "^10.0.27",
|
|
"lerna": "^3.13.1",
|
|
"lint-staged": "^10.0.4",
|
|
"prettier": "^1.16.4",
|
|
"react-test-renderer": "^16.12.0",
|
|
"start-server-and-test": "^1.9.1"
|
|
},
|
|
"jest": {
|
|
"testMatch": [
|
|
"**/packages/**/test/*.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/.cache/",
|
|
"/public/"
|
|
],
|
|
"coverageReporters": [
|
|
"lcov",
|
|
"text",
|
|
"html"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"packages/**/src/**/*.js"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 80,
|
|
"functions": 80,
|
|
"lines": 80,
|
|
"statements": 80
|
|
}
|
|
},
|
|
"snapshotSerializers": [
|
|
"jest-emotion"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|