mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-29 05:46:00 +03:00
50 lines
1.1 KiB
JSON
50 lines
1.1 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",
|
|
"test": "start-server-and-test start http://localhost:8000 cypress:run"
|
|
},
|
|
"devDependencies": {
|
|
"cypress": "^3.4.0",
|
|
"husky": "^3.0.0",
|
|
"jest": "^24.3.1",
|
|
"lerna": "^3.13.1",
|
|
"lint-staged": "^9.1.0",
|
|
"prettier": "^1.16.4",
|
|
"start-server-and-test": "^1.9.1"
|
|
},
|
|
"jest": {
|
|
"coverageReporters": [
|
|
"lcov",
|
|
"html"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/.cache/",
|
|
"/public/"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|