mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-01-12 22:52:39 +08:00
wip Add gitignore and edit rollup config Update gitignore Wip WIP Get rid of older json files and use js files to extend across pkgs later Make test:native work again, thanks to @SimenB No haste and get integration test to work Update husky Update package.json Update travis and appveyor Add lint script Update sandbox Update yarn version Move eslint into sc package Remove unnecessary files Update lint-staged Update CONTRIBUTING.md Update version in lerna.json Update contributing Update scripts Update contributing Update contributing Update contributing.md and publish script Update contributing v4.1.4-alpha.0 Update package json Update lerna version v4.1.4-alpha.0 v4.1.4-alpha.1 Independent version for sandbox and styled-components Yarn instead of npm Add readme to styled-components package to show up on npm Publish - styled-components@4.1.4-alpha.2 Update prepublisOnly and contributing Update gitignore Publish - styled-components@4.1.4-alpha.3 Test without readme Remove readme Publish - styled-components@4.1.4-alpha.4 Copy readme prepublishOnly Publish - styled-components@4.1.4-alpha.5
104 lines
3.2 KiB
JSON
104 lines
3.2 KiB
JSON
{
|
|
"name": "styled-components-project",
|
|
"private": true,
|
|
"version": "4.1.3",
|
|
"scripts":{
|
|
"bs": "lerna bootstrap",
|
|
"build": "lerna run build --stream --parallel",
|
|
"clean":"lerna clean",
|
|
"dev": "lerna run dev --stream --parallel",
|
|
"flow": "lerna run flow --stream --parallel",
|
|
"lint": "lerna run lint --stream --parallel",
|
|
"size": "lerna run size --stream --parallel",
|
|
"test": "run-s test:*",
|
|
"prepublishOnly": "yarn clean && yarn && yarn build && yarn test && cp README.md packages/styled-components",
|
|
"publish": "lerna publish",
|
|
"test:web": "jest -c scripts/jest/config.main.js",
|
|
"test:web:watch": "yarn test:web -- --watch",
|
|
"test:native": "jest -c scripts/jest/config.native.js",
|
|
"test:native:watch": "yarn test:native -- --watch",
|
|
"test:primitives": "jest -c scripts/jest/config.primitives.js",
|
|
"test:primitives:watch": "yarn test:primitives -- --watch",
|
|
"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.0",
|
|
"cross-env": "^5.1.3",
|
|
"eslint": "^5.9.0",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-config-prettier": "^3.3.0",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.2",
|
|
"eslint-plugin-prettier": "^3.0.0",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"express": "^4.16.4",
|
|
"flow-bin": "^0.82.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",
|
|
"lerna": "^3.10.5",
|
|
"lint-staged": "^8.0.4",
|
|
"node-watch": "^0.5.0",
|
|
"npm-run-all": "^4.1.2",
|
|
"prettier": "^1.15.2",
|
|
"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"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
],
|
|
"nohoist": [
|
|
"**/react-*",
|
|
"**/react-*/**"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"ignore": [
|
|
"**/test/*.js"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn flow && lint-staged"
|
|
}
|
|
}
|
|
}
|