123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- {
- "name": "polished",
- "version": "4.3.1",
- "description": "A lightweight toolset for writing styles in Javascript.",
- "license": "MIT",
- "author": "Brian Hough <hello@brianhough.co> (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 -d docs",
- "prepare": "yarn build && yarn typescript && husky install",
- "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.17.8"
- },
- "devDependencies": {
- "@babel/cli": "^7.17.6",
- "@babel/core": "^7.17.8",
- "@babel/eslint-parser": "^7.17.0",
- "@babel/plugin-transform-runtime": "^7.17.0",
- "@babel/polyfill": "^7.12.1",
- "@babel/preset-env": "^7.16.11",
- "@babel/preset-flow": "^7.16.7",
- "@rollup/plugin-babel": "^5.3.1",
- "@rollup/plugin-node-resolve": "^13.1.3",
- "@rollup/plugin-replace": "^4.0.0",
- "babel-eslint": "^10.1.0",
- "babel-jest": "^27.5.1",
- "babel-plugin-add-module-exports": "^1.0.2",
- "babel-plugin-preval": "5.1.0",
- "cross-env": "^7.0.3",
- "cz-conventional-changelog": "^3.1.0",
- "documentation": "12.3.0",
- "eslint": "^8.56.0",
- "eslint-config-airbnb-base": "^15.0.0",
- "eslint-plugin-import": "^2.29.1",
- "flow-bin": "^0.133.0",
- "flow-copy-source": "^2.0.8",
- "husky": "^7.0.4",
- "jest": "^27.5.1",
- "lint-staged": "^12.3.7",
- "npm-watch": "^0.11.0",
- "prettier": "^3.2.4",
- "pushstate-server": "^3.1.0",
- "ramda": "^0.29.1",
- "rollup": "^2.70.1",
- "rollup-plugin-sourcemaps": "^0.6.3",
- "rollup-plugin-terser": "^7.0.2",
- "semantic-release": "^19.0.2",
- "shx": "^0.3.4",
- "tsgen": "1.3.0",
- "typescript": "4.6.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,
- "testEnvironment": "jsdom"
- },
- "collective": {
- "type": "opencollective",
- "url": "https://opencollective.com/polished"
- },
- "engines": {
- "node": ">=10"
- }
- }
|