mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-01-12 22:52:39 +08:00
* Styled Components test interleaveWithNodeStream Added a test for interleaveWithNodeStream. The niche case where the style tag gets interleaved into a textarea causes the style tag to be rendered as text in the text area. * when streaming try to inject outside the nearest element this helps for some edge cases like <textarea> where the element accepts children but has weird behavior for the children compared to typical HTML elements * remove enzyme stuff in favor of a simpler check * changelog entry
105 lines
3.2 KiB
JSON
105 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:*",
|
|
"prepare": "yarn bs && yarn build",
|
|
"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"
|
|
}
|
|
}
|
|
}
|