You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
4.0 KiB
132 lines
4.0 KiB
{
|
|
"name": "polished",
|
|
"version": "3.7.2",
|
|
"description": "A lightweight toolset for writing styles in Javascript.",
|
|
"license": "MIT",
|
|
"author": "Brian Hough <hello@brianhough.net> (https://polished.js.org)",
|
|
"homepage": "https://polished.js.org",
|
|
"bugs": "https://github.com/styled-components/polished/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/styled-components/polished.git"
|
|
},
|
|
"keywords": [
|
|
"styled-components",
|
|
"polished",
|
|
"emotion",
|
|
"glamor",
|
|
"css-in-js",
|
|
"inline-styles",
|
|
"react",
|
|
"flow",
|
|
"typescript",
|
|
"color manipulate",
|
|
"color manipulation",
|
|
"curried color manipulation",
|
|
"color",
|
|
"colour"
|
|
],
|
|
"main": "dist/polished.cjs.js",
|
|
"module": "dist/polished.esm.js",
|
|
"types": "lib/index.d.ts",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "yarn build:lib && yarn build:dist && yarn build:flow && yarn build:docs && yarn build:typescript",
|
|
"prebuild:lib": "shx rm -rf lib/*",
|
|
"build:lib": "cross-env BABEL_ENV=cjs babel --out-dir lib src --ignore test.js",
|
|
"prebuild:umd": "shx rm -rf dist/*",
|
|
"prebuild:dist": "shx rm -rf dist/*",
|
|
"build:dist": "rollup -c",
|
|
"build:docs": "yarn build:docs:site",
|
|
"prebuild:docs:site": "shx rm -rf docs/*",
|
|
"build:docs:site": "documentation build src/** -t docs-theme --github -o docs -f html -c ./.documentation.json",
|
|
"postbuild:docs:site": "shx cp CNAME docs/CNAME && shx cp dist/polished.js docs/assets/",
|
|
"build:watch": "npm-watch",
|
|
"build:flow": "flow-copy-source -v -i '{**/test/*.js,**/*.test.js}' src lib",
|
|
"build:typescript": "tsgen \"lib/**/*.js.flow\" --ignore \"lib/**/_*.js.flow\"",
|
|
"test": "jest src",
|
|
"typescript": "tsc ./typescript-test.ts --noEmit --target es6 --module es2015 --moduleResolution node --allowJs",
|
|
"lint": "eslint src",
|
|
"flow": "flow check && flow batch-coverage src/ --show-all --strip-root",
|
|
"docs": "pushstate-server docs",
|
|
"prepare": "yarn build && yarn typescript",
|
|
"semantic-release": "semantic-release"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.js": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"watch": {
|
|
"build:docs": "src/**/*.js",
|
|
"build:lib": "src/**/*.js"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.12.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.12.10",
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
"@babel/polyfill": "^7.12.1",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"@babel/preset-flow": "^7.12.1",
|
|
"@rollup/plugin-babel": "^5.2.2",
|
|
"@rollup/plugin-node-resolve": "^11.1.0",
|
|
"@rollup/plugin-replace": "^2.3.4",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.6.3",
|
|
"babel-plugin-add-module-exports": "^1.0.2",
|
|
"babel-plugin-annotate-pure-calls": "^0.4.0",
|
|
"babel-plugin-preval": "5.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"cz-conventional-changelog": "^3.1.0",
|
|
"documentation": "12.3.0",
|
|
"eslint": "^7.18.0",
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"flow-bin": "^0.133.0",
|
|
"flow-copy-source": "^2.0.8",
|
|
"husky": "^4.3.8",
|
|
"jest": "^26.6.3",
|
|
"lint-staged": "^10.5.3",
|
|
"npm-watch": "^0.7.0",
|
|
"prettier": "^2.2.1",
|
|
"pushstate-server": "^3.1.0",
|
|
"ramda": "^0.27.0",
|
|
"rollup": "^2.38.0",
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"semantic-release": "^17.3.7",
|
|
"shx": "^0.3.3",
|
|
"tsgen": "1.3.0",
|
|
"typescript": "4.1.3",
|
|
"validate-commit-msg": "^2.14.0"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"jest": {
|
|
"coverageDirectory": "./coverage/",
|
|
"collectCoverage": true,
|
|
"testURL": "http://localhost/",
|
|
"verbose": true
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/polished"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"post-commit": "validate-commit-msg",
|
|
"pre-commit": "lint-staged --debug"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
}
|
|
}
|