2018-07-28 21:21:36 +03:00
|
|
|
{
|
2019-03-02 22:10:16 +03:00
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
2019-03-04 01:29:04 +03:00
|
|
|
"packages/*",
|
2019-03-10 02:34:20 +03:00
|
|
|
"templates/*",
|
2019-04-22 03:07:57 +03:00
|
|
|
"examples/*",
|
2019-03-04 01:29:04 +03:00
|
|
|
"docs"
|
2019-03-02 22:10:16 +03:00
|
|
|
],
|
2019-03-03 19:26:24 +03:00
|
|
|
"scripts": {
|
2019-03-10 01:13:23 +03:00
|
|
|
"start": "yarn workspace @mdx-deck/docs start",
|
2019-04-14 20:45:10 +03:00
|
|
|
"analyze-bundle": "yarn workspace @mdx-deck/docs start --webpack bundle-analyzer.config.js",
|
2019-03-10 02:20:19 +03:00
|
|
|
"build": "yarn workspace @mdx-deck/docs build",
|
2019-04-20 23:04:57 +03:00
|
|
|
"start-theme": "yarn workspace @mdx-deck/gatsby-theme start",
|
2019-04-20 19:55:20 +03:00
|
|
|
"build-theme": "yarn workspace @mdx-deck/gatsby-theme build",
|
2019-04-21 02:03:49 +03:00
|
|
|
"export": "yarn workspace @mdx-deck/export pdf",
|
2019-04-21 00:11:48 +03:00
|
|
|
"test": "jest"
|
2019-03-10 01:13:23 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.3.4",
|
|
|
|
"@babel/preset-env": "^7.3.4",
|
|
|
|
"@babel/preset-react": "^7.0.0",
|
|
|
|
"husky": "^1.3.1",
|
|
|
|
"jest": "^24.3.1",
|
2019-03-10 04:34:06 +03:00
|
|
|
"lerna": "^3.13.1",
|
2019-03-10 01:13:23 +03:00
|
|
|
"lint-staged": "^8.1.5",
|
|
|
|
"prettier": "^1.16.4"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"coverageReporters": [
|
|
|
|
"lcov",
|
|
|
|
"html"
|
2019-04-11 18:23:02 +03:00
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/.cache/",
|
|
|
|
"/public/"
|
2019-03-10 01:13:23 +03:00
|
|
|
]
|
2019-03-03 19:26:24 +03:00
|
|
|
},
|
2018-09-22 17:44:09 +03:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-03-16 20:09:41 +03:00
|
|
|
"linters": {
|
2019-04-22 00:51:55 +03:00
|
|
|
"*.{js,json}": [
|
2019-03-16 20:09:41 +03:00
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2019-03-16 20:08:20 +03:00
|
|
|
"ignore": [
|
|
|
|
"**/MIGRATION.md"
|
2018-09-22 17:44:09 +03:00
|
|
|
]
|
2019-04-12 06:23:13 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@mdx-js/mdx": "^1.0.1"
|
2018-07-28 21:21:36 +03:00
|
|
|
}
|
|
|
|
}
|