mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-04-29 01:35:53 +08:00
95 lines
2.8 KiB
JSON
95 lines
2.8 KiB
JSON
{
|
|
"name": "styled-components-project",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "wsrun --exclude-missing build",
|
|
"postbuild": "cp README.md packages/styled-components/",
|
|
"dev": "wsrun --exclude-missing dev",
|
|
"flow": "wsrun --exclude-missing flow",
|
|
"lint": "wsrun --exclude-missing lint",
|
|
"size": "wsrun --exclude-missing size",
|
|
"test": "run-s test:*",
|
|
"prepublishOnly": "run-s build test",
|
|
"test:web": "jest -c scripts/jest/config.main.js",
|
|
"test:native": "jest -c scripts/jest/config.native.js",
|
|
"test:primitives": "jest -c scripts/jest/config.primitives.js",
|
|
"test:integration": "jest -c scripts/jest/config.integration.js --runInBand --forceExit"
|
|
},
|
|
"author": "Glen Maddern",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/styled-components/styled-components/issues"
|
|
},
|
|
"homepage": "https://styled-components.com",
|
|
"devDependencies": {
|
|
"babel-cli": "^6.22.2",
|
|
"babel-core": "^6.17.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-plugin-add-module-exports": "^1.0.0",
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
"babel-plugin-macros": "^2.4.2",
|
|
"babel-plugin-preval": "^3.0.1",
|
|
"babel-plugin-tester": "^5.5.1",
|
|
"babel-plugin-transform-class-properties": "^6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.22.0",
|
|
"babel-plugin-transform-react-remove-prop-types": "0.4.14",
|
|
"babel-preset-env": "^1.4.0",
|
|
"babel-preset-react": "^6.22.0",
|
|
"bundlesize": "^0.17.1",
|
|
"cross-env": "^5.1.3",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-config-prettier": "^4.1.0",
|
|
"eslint-plugin-import": "^2.17.2",
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
"eslint-plugin-prettier": "^3.0.0",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"eslint-plugin-react-hooks": "^1.6.0",
|
|
"express": "^4.16.4",
|
|
"flow-bin": "^0.93.0",
|
|
"flow-watch": "^1.1.1",
|
|
"husky": "^1.1.3",
|
|
"jest": "^23.6.0",
|
|
"jest-image-snapshot": "^2.7.0",
|
|
"jest-styled-components": "^6.3.1",
|
|
"lint-staged": "^8.1.5",
|
|
"node-watch": "^0.5.0",
|
|
"npm-run-all": "^4.1.2",
|
|
"prettier": "^1.17.0",
|
|
"puppeteer": "^1.10.0",
|
|
"raf": "^3.4.1",
|
|
"rimraf": "^2.6.1",
|
|
"rollup": "^0.66.5",
|
|
"rollup-plugin-babel": "^3.0.4",
|
|
"rollup-plugin-commonjs": "^9.1.8",
|
|
"rollup-plugin-flow": "^1.1.1",
|
|
"rollup-plugin-json": "^3.1.0",
|
|
"rollup-plugin-node-resolve": "^3.3.0",
|
|
"rollup-plugin-replace": "^1.0.0",
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
"rollup-plugin-terser": "^3.0.0",
|
|
"wsrun": "^3.6.4"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"ignore": [
|
|
"**/test/*.js"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "wsrun --exclude-missing flow && lint-staged"
|
|
}
|
|
}
|
|
}
|