UNPKG

pretty-lights

Version:
118 lines (117 loc) 3.54 kB
{ "name": "pretty-lights", "version": "1.2.0", "description": "CSS-in-JS with a reliable API", "main": "lib/pretty-lights.js", "module": "lib/pretty-lights.modern.js", "source": "src/index.js", "types": "index.d.ts", "files": [ "babel/", "jest/", "lib/", "server/", "index.d.ts" ], "repository": { "type": "git", "url": "git+https://github.com/nytimes/pretty-lights.git" }, "keywords": [ "CSS-in-JS", "CSS", "styled", "components" ], "license": "UNLICENSED", "bugs": { "url": "https://github.com/nytimes/pretty-lights/issues" }, "homepage": "https://github.com/nytimes/pretty-lights#readme", "dependencies": { "@emotion/babel-utils": "0.6.10", "@emotion/hash": "0.8.0", "@emotion/is-prop-valid": "1.1.0", "@emotion/memoize": "0.7.5", "@emotion/stylis": "0.8.5", "@emotion/unitless": "0.7.5", "@emotion/weak-memoize": "0.2.5", "chalk": "4.1.1", "convert-source-map": "1.8.0", "css": "3.0.0", "find-root": "1.1.0", "hoist-non-react-statics": "^3.3.2", "source-map": "0.7.3", "stylis": "^3.5.0", "stylis-rule-sheet": "^0.0.10" }, "peerDependencies": { "prop-types": "^15.7.2", "react": "^16.8.6 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@babel/cli": "7.14.8", "@babel/core": "7.14.8", "@babel/eslint-parser": "7.14.7", "@babel/eslint-plugin": "7.14.5", "@babel/plugin-proposal-class-properties": "7.14.5", "@babel/preset-env": "7.14.8", "@babel/preset-flow": "7.14.5", "@babel/preset-react": "7.14.5", "@testing-library/react": "^11.2.7", "babel-check-duplicated-nodes": "1.0.0", "babel-eslint": "10.1.0", "babel-plugin-add-react-displayname": "^0.0.5", "babel-plugin-codegen": "4.1.4", "cssjanus": "2.1.0", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.6", "enzyme-to-json": "3.6.2", "eslint": "7.31.0", "eslint-config-airbnb": "18.2.1", "eslint-config-kyt": "1.6.1", "eslint-config-prettier": "8.3.0", "eslint-plugin-flowtype": "5.8.2", "eslint-plugin-import": "2.23.4", "eslint-plugin-jest": "24.4.0", "eslint-plugin-jest-formatting": "3.0.0", "eslint-plugin-json": "3.0.0", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-react": "7.24.0", "eslint-plugin-react-hooks": "4.2.0", "flow-bin": "0.156.0", "jest": "27.0.6", "jest-in-case": "1.0.2", "jest-serializer-html": "7.1.0", "microbundle": "0.13.3", "mkdirp": "1.0.4", "polished": "4.1.3", "prettier": "2.3.2", "pretty-format": "27.0.6", "prop-types": "15.7.2", "react": "16.14.0", "react-dom": "16.14.0", "react-test-renderer": "16.14.0", "rimraf": "3.0.2", "touch": "3.1.0" }, "config": { "unsafe-perm": true }, "scripts": { "clean": "rimraf lib babel jest server", "build:server": "babel src --only src/jest,src/babel,src/server --ignore \"**/__tests__/**\" -d .", "build:main": "NODE_ENV=production microbundle --jsx React.createElement -f es,cjs", "build:dev": "yarn clean && yarn build:server", "build": "yarn build:dev && yarn build:main", "prepare": "yarn build", "test": "yarn build:dev && jest", "test-update": "yarn build:dev && jest -u", "lint": "eslint .", "lint-fix": "eslint . --fix", "publish:alpha": "npm publish --tag alpha", "flow": "flow" } }