forked from mdx-js/mdx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
103 lines (103 loc) · 3.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"repository": "mdx-js/mdx",
"homepage": "https://mdxjs.com",
"bugs": "https://github.com/mdx-js/mdx/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"license": "MIT",
"private": true,
"workspaces": [
"examples/*",
"packages/*"
],
"scripts": {
"build": "lerna run build --no-private --ignore gatsby-theme-mdx",
"clean": "lerna exec \"rimraf dist node_modules\" && gatsby clean",
"docs": "gatsby develop",
"docs-build": "gatsby build",
"docs-deploy": "vercel && vercel alias $(pbpaste) mdxjs.com && vercel alias $(pbpaste) www.mdxjs.com",
"format": "yarn lint --fix",
"lint": "eslint . --cache -f friendly",
"vercel-build": "yarn build && yarn docs-build",
"postinstall": "yarn-deduplicate --strategy fewer && patch-package || exit 0",
"prepublishOnly": "yarn build",
"publish": "lerna publish --force-publish=\"*\"",
"publish-ci": "lerna publish -y --canary --preid ci --pre-dist-tag ci",
"publish-next": "lerna publish --force-publish=\"*\" --pre-dist-tag next --preid next",
"test-api": "lerna run test-api",
"test-coverage": "lerna run test-coverage",
"test-types": "lerna run test-types",
"test": "yarn build && yarn lint && yarn test-coverage"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.12.0",
"@babel/plugin-syntax-jsx": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"@babel/preset-react": "^7.12.0",
"babel-loader": "^8.2.0",
"babel-preset-gatsby-package": "^0.12.0",
"dtslint": "^4.0.8",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.0.0",
"eslint-config-xo": "^0.35.0",
"eslint-formatter-friendly": "^7.0.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-mdx": "^1.14.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"gatsby": "^2.24.3",
"gatsby-theme-mdx1": "npm:gatsby-theme-mdx@^1.0.0",
"husky": "^4.3.0",
"jest": "^26.6.0",
"lerna": "^3.22.1",
"lint-staged": "^10.5.0",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.1.0",
"remark-frontmatter": "^2.0.0",
"remark-preset-prettier": "^0.4.0",
"remark-preset-wooorm": "^8.0.0",
"rimraf": "^3.0.0",
"typescript": "^4.0.0",
"yarn-deduplicate": "^3.0.0"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"eslint": "^7.23.0",
"gatsby-plugin-mdx/@mdx-js/mdx": "^1.0.0",
"gatsby-plugin-mdx/@mdx-js/react": "^1.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testPathIgnorePatterns": [
"/.cache/"
],
"testEnvironment": "node"
},
"lint-staged": {
"*.{js,jsx,md,mdx}": [
"eslint --cache --fix -f friendly"
],
"*.{css,html,json,ts,tsx,yml}": [
"prettier --write"
]
},
"prettier": {
"arrowParens": "avoid",
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
}
}