2017-07-07 13:28:29 -04:00
|
|
|
{
|
2019-03-23 03:21:36 -04:00
|
|
|
"private": true,
|
|
|
|
|
"workspaces": [
|
|
|
|
|
"packages/*",
|
|
|
|
|
"website",
|
2019-05-25 11:43:43 -04:00
|
|
|
"website-1.x",
|
2019-07-13 14:06:23 -04:00
|
|
|
"packages/docusaurus-init/templates/*"
|
2019-03-23 03:21:36 -04:00
|
|
|
],
|
2017-10-25 17:04:24 -04:00
|
|
|
"scripts": {
|
2019-05-18 14:37:35 -04:00
|
|
|
"start": "yarn tsc && yarn start:v2",
|
|
|
|
|
"start:v1": "yarn workspace docusaurus-1-website start",
|
|
|
|
|
"start:v2": "yarn workspace docusaurus-2-website start",
|
|
|
|
|
"build": "yarn tsc && yarn build:v2",
|
|
|
|
|
"build:v1": "yarn workspace docusaurus-1-website build",
|
|
|
|
|
"build:v2": "yarn workspace docusaurus-2-website build",
|
2019-11-08 11:58:56 -05:00
|
|
|
"changelog": "lerna-changelog",
|
2019-05-18 14:37:35 -04:00
|
|
|
"postinstall": "yarn tsc",
|
2019-05-20 12:59:04 -04:00
|
|
|
"prettier": "prettier --config .prettierrc --write \"**/*.{js,ts}\"",
|
|
|
|
|
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,ts}\"",
|
2019-12-08 00:56:30 -05:00
|
|
|
"prettier-docs": "prettier --config .prettierrc --write \"**/*.md\"",
|
2020-03-06 07:10:26 -05:00
|
|
|
"lint": "eslint --cache \"**/*.js\" && stylelint \"**/*.css\"",
|
2019-03-23 03:21:36 -04:00
|
|
|
"lerna": "lerna",
|
2019-05-18 14:37:35 -04:00
|
|
|
"test": "jest",
|
2020-04-02 03:11:19 -04:00
|
|
|
"test:build:v2": "./admin/scripts/test-release.sh",
|
2019-05-20 12:59:04 -04:00
|
|
|
"tsc": "lerna run tsc --no-private"
|
2017-07-07 13:28:29 -04:00
|
|
|
},
|
2017-12-12 15:47:52 -05:00
|
|
|
"devDependencies": {
|
2020-04-02 07:05:03 -04:00
|
|
|
"@babel/core": "^7.9.0",
|
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
|
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
|
|
|
|
|
"@babel/preset-typescript": "^7.9.0",
|
2019-11-24 11:06:25 -05:00
|
|
|
"@types/express": "^4.17.2",
|
2019-11-13 11:04:13 -05:00
|
|
|
"@types/fs-extra": "^8.0.1",
|
|
|
|
|
"@types/inquirer": "^6.5.0",
|
2019-11-24 11:06:25 -05:00
|
|
|
"@types/jest": "^24.0.23",
|
2019-10-07 07:28:33 -04:00
|
|
|
"@types/loader-utils": "^1.1.3",
|
2019-11-24 11:06:25 -05:00
|
|
|
"@types/lodash": "^4.14.149",
|
2020-04-03 13:24:30 -04:00
|
|
|
"@types/lodash.flatmap": "^4.5.6",
|
|
|
|
|
"@types/lodash.groupby": "^4.6.6",
|
2020-04-05 06:17:06 -04:00
|
|
|
"@types/lodash.has": "^4.5.6",
|
|
|
|
|
"@types/lodash.isplainobject": "^4.0.6",
|
|
|
|
|
"@types/lodash.isstring": "^4.0.6",
|
2019-07-13 14:06:23 -04:00
|
|
|
"@types/lodash.kebabcase": "^4.1.6",
|
2020-04-03 13:24:30 -04:00
|
|
|
"@types/lodash.pick": "^4.4.6",
|
|
|
|
|
"@types/lodash.pickby": "^4.6.6",
|
2019-11-29 23:52:26 -05:00
|
|
|
"@types/node": "^12.12.14",
|
2019-11-24 11:06:25 -05:00
|
|
|
"@types/react": "^16.9.13",
|
2019-05-21 02:58:14 -04:00
|
|
|
"@types/react-dev-utils": "^9.0.1",
|
2019-11-13 11:04:13 -05:00
|
|
|
"@types/semver": "^6.2.0",
|
2019-11-22 05:55:22 -05:00
|
|
|
"@types/shelljs": "^0.8.6",
|
2019-11-24 11:06:25 -05:00
|
|
|
"@types/webpack": "^4.41.0",
|
2019-11-29 23:52:26 -05:00
|
|
|
"@types/webpack-dev-server": "^3.9.0",
|
2019-05-20 12:59:04 -04:00
|
|
|
"@types/webpack-merge": "^4.1.5",
|
2019-11-11 05:44:26 -05:00
|
|
|
"babel-eslint": "^10.0.3",
|
|
|
|
|
"enzyme": "^3.10.0",
|
|
|
|
|
"enzyme-adapter-react-16": "^1.15.1",
|
2019-11-29 23:52:26 -05:00
|
|
|
"eslint": "^6.7.1",
|
2019-11-11 05:44:26 -05:00
|
|
|
"eslint-config-airbnb": "^18.0.1",
|
2019-11-22 05:55:22 -05:00
|
|
|
"eslint-config-prettier": "^6.7.0",
|
2019-03-24 03:50:26 -04:00
|
|
|
"eslint-plugin-header": "^3.0.0",
|
2019-11-11 05:44:26 -05:00
|
|
|
"eslint-plugin-import": "^2.18.2",
|
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
|
|
|
"eslint-plugin-react": "^7.16.0",
|
2019-11-22 05:55:22 -05:00
|
|
|
"eslint-plugin-react-hooks": "^2.3.0",
|
|
|
|
|
"husky": "^3.1.0",
|
2019-10-16 11:56:09 -04:00
|
|
|
"jest": "^24.9.0",
|
2019-11-22 05:55:22 -05:00
|
|
|
"lerna": "^3.19.0",
|
2019-11-19 04:04:23 -05:00
|
|
|
"lerna-changelog": "^0.8.3",
|
2019-11-29 23:52:26 -05:00
|
|
|
"lint-staged": "^9.5.0",
|
2019-11-22 05:55:22 -05:00
|
|
|
"prettier": "^1.19.1",
|
2019-03-23 03:21:36 -04:00
|
|
|
"react": "^16.8.4",
|
|
|
|
|
"react-dom": "^16.8.4",
|
2020-04-02 07:05:03 -04:00
|
|
|
"stylelint": "^13.2.1",
|
2019-11-07 01:32:55 -05:00
|
|
|
"typescript": "^3.7.2"
|
2018-08-03 21:25:57 -04:00
|
|
|
},
|
2020-03-08 15:57:02 -04:00
|
|
|
"peerDependencies": {
|
|
|
|
|
"stylelint-copyright": "^2.0.0"
|
|
|
|
|
},
|
2018-09-17 12:58:07 -04:00
|
|
|
"lint-staged": {
|
2019-11-22 05:55:22 -05:00
|
|
|
"*.{js,jsx}": [
|
|
|
|
|
"yarn lint --fix",
|
|
|
|
|
"yarn prettier",
|
|
|
|
|
"git add"
|
|
|
|
|
],
|
|
|
|
|
"*.{ts,tsx}": [
|
|
|
|
|
"yarn prettier",
|
|
|
|
|
"git add"
|
2019-12-08 00:56:30 -05:00
|
|
|
],
|
|
|
|
|
"*.md": [
|
2019-12-10 15:47:13 -05:00
|
|
|
"yarn prettier-docs",
|
|
|
|
|
"git add"
|
2019-11-22 05:55:22 -05:00
|
|
|
]
|
2019-02-11 21:34:31 -05:00
|
|
|
},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
|
}
|
2020-01-12 00:24:11 -05:00
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=10.9.0"
|
2017-07-07 13:28:29 -04:00
|
|
|
}
|
|
|
|
|
}
|