2018-10-23 19:32:42 +08:00
|
|
|
{
|
2019-10-08 19:20:12 +08:00
|
|
|
"private": true,
|
2018-10-23 19:32:42 +08:00
|
|
|
"devDependencies": {
|
2019-10-29 17:33:37 +08:00
|
|
|
"@babel/cli": "^7.6.4",
|
|
|
|
"@babel/core": "^7.6.4",
|
2019-10-25 14:15:54 +08:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
|
2019-10-08 19:20:12 +08:00
|
|
|
"@babel/preset-env": "^7.5.5",
|
|
|
|
"@babel/preset-react": "^7.0.0",
|
|
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
|
|
"@commitlint/cli": "^8.1.0",
|
|
|
|
"@commitlint/config-conventional": "^8.1.0",
|
|
|
|
"@storybook/addon-actions": "^5.1.9",
|
|
|
|
"@storybook/addon-console": "^1.2.1",
|
|
|
|
"@storybook/addon-info": "^5.1.9",
|
|
|
|
"@storybook/addon-knobs": "^5.1.9",
|
|
|
|
"@storybook/addon-notes": "^5.1.9",
|
|
|
|
"@storybook/addon-storysource": "^5.1.11",
|
|
|
|
"@storybook/react": "^5.1.9",
|
|
|
|
"@types/dat.gui": "^0.7.1",
|
|
|
|
"@types/enzyme": "^3.1.14",
|
|
|
|
"@types/enzyme-adapter-react-16": "^1.0.3",
|
|
|
|
"@types/jest": "^24.0.18",
|
|
|
|
"@types/node": "^12.7.3",
|
|
|
|
"@types/storybook__react": "^4.0.2",
|
|
|
|
"@types/supercluster": "^5.0.1",
|
|
|
|
"awesome-typescript-loader": "^5.2.1",
|
2019-10-29 17:33:37 +08:00
|
|
|
"babel-jest": "^24.9.0",
|
2019-10-08 19:20:12 +08:00
|
|
|
"babel-loader": "^8.0.6",
|
|
|
|
"babel-plugin-const-enum": "^0.0.2",
|
2019-10-24 21:23:15 +08:00
|
|
|
"babel-plugin-css-modules-transform": "^1.6.2",
|
2019-10-08 19:20:12 +08:00
|
|
|
"babel-plugin-inline-import": "^3.0.0",
|
2019-10-24 21:23:15 +08:00
|
|
|
"babel-plugin-transform-postcss": "^0.3.0",
|
2019-10-08 19:20:12 +08:00
|
|
|
"clean-webpack-plugin": "^0.1.19",
|
|
|
|
"commitizen": "^4.0.3",
|
|
|
|
"copy-webpack-plugin": "^4.5.2",
|
2019-10-24 21:23:15 +08:00
|
|
|
"css-loader": "^3.2.0",
|
2019-10-08 19:20:12 +08:00
|
|
|
"cz-conventional-changelog": "^3.0.2",
|
|
|
|
"dat.gui": "^0.7.2",
|
|
|
|
"enzyme": "^3.6.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.5.0",
|
|
|
|
"enzyme-to-json": "^3.0.0-beta6",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2019-10-21 14:37:35 +08:00
|
|
|
"husky": "^3.0.9",
|
2019-10-08 19:20:12 +08:00
|
|
|
"jest": "^24.9.0",
|
|
|
|
"jest-styled-components": "^6.2.1",
|
|
|
|
"lerna": "^3.16.4",
|
|
|
|
"lint-staged": "^9.2.4",
|
|
|
|
"node-sass": "^4.12.0",
|
|
|
|
"npm-run-all": "^4.1.5",
|
2019-10-24 21:23:15 +08:00
|
|
|
"postcss": "^7.0.18",
|
|
|
|
"postcss-plugin": "^1.0.0",
|
2019-10-25 14:15:54 +08:00
|
|
|
"prettier": "^1.18.2",
|
2019-10-08 19:20:12 +08:00
|
|
|
"raw-loader": "^1.0.0",
|
|
|
|
"react": "^16.8.6",
|
|
|
|
"react-docgen-typescript-loader": "^3.1.0",
|
|
|
|
"react-dom": "^16.8.6",
|
|
|
|
"rimraf": "^2.6.2",
|
|
|
|
"sass-loader": "^7.1.0",
|
2019-10-24 21:23:15 +08:00
|
|
|
"style-loader": "^1.0.0",
|
2019-10-08 19:20:12 +08:00
|
|
|
"styled-components": "^3.4.6",
|
|
|
|
"stylelint": "^9.5.0",
|
|
|
|
"stylelint-config-recommended": "^2.1.0",
|
|
|
|
"stylelint-config-standard": "^18.2.0",
|
|
|
|
"stylelint-config-styled-components": "^0.1.1",
|
|
|
|
"stylelint-processor-styled-components": "^1.3.2",
|
|
|
|
"ts-jest": "^24.0.2",
|
|
|
|
"tslint": "^5.11.0",
|
|
|
|
"tslint-config-prettier": "^1.15.0",
|
|
|
|
"tslint-plugin-prettier": "^1.3.0",
|
|
|
|
"tslint-react": "^3.6.0",
|
2019-10-25 14:15:54 +08:00
|
|
|
"typescript": "^3.7.0-beta",
|
2019-10-08 19:20:12 +08:00
|
|
|
"webpack": "^4.17.1",
|
|
|
|
"webpack-cli": "^3.1.0",
|
|
|
|
"webpack-dev-server": "^3.1.7",
|
|
|
|
"webpack-merge": "^4.1.4",
|
|
|
|
"worker-loader": "^2.0.0"
|
2018-10-23 19:32:42 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2019-10-08 19:20:12 +08:00
|
|
|
"prebuild": "run-p tsc lint",
|
|
|
|
"build": "lerna exec --parallel 'BABEL_ENV=build babel src --root-mode upward --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments'",
|
|
|
|
"postbuild": "yarn build:declarations",
|
|
|
|
"fix": "run-p -c 'lint:ts-* --fix'",
|
|
|
|
"lint:css": "stylelint 'packages/**/*.ts{,x}'",
|
|
|
|
"lint:ts-prod": "tslint --config tslint.prod.json 'packages/**/*.ts{,x}'",
|
|
|
|
"lint:ts-test": "tslint --config tslint.test.json 'packages/**/*.{spec,story}.ts{,x}'",
|
|
|
|
"lint:ts": "run-p -c lint:ts-*",
|
|
|
|
"lint": "run-p -c lint:*",
|
|
|
|
"commit": "git-cz",
|
|
|
|
"version": "lerna version --conventional-commits",
|
|
|
|
"prerelease": "yarn build",
|
|
|
|
"release": "lerna publish from-git",
|
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"test": "jest",
|
|
|
|
"tsc": "tsc",
|
|
|
|
"build:declarations": "lerna exec --stream --no-bail 'tsc --project ./tsconfig.build.json'",
|
|
|
|
"watch": "lerna exec --parallel 'BABEL_ENV=build babel --watch src --root-mode upward --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments'"
|
2018-10-23 19:32:42 +08:00
|
|
|
},
|
2019-10-08 19:20:12 +08:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*",
|
|
|
|
"stories/*"
|
|
|
|
],
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2019-10-21 14:37:35 +08:00
|
|
|
"pre-commit": "npm run lint",
|
2019-10-08 19:20:12 +08:00
|
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
|
|
}
|
2018-10-23 19:32:42 +08:00
|
|
|
},
|
2019-10-08 19:20:12 +08:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "cz-conventional-changelog"
|
|
|
|
}
|
2019-10-29 17:33:37 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.6.0"
|
2018-10-23 19:32:42 +08:00
|
|
|
}
|
|
|
|
}
|