UNPKG

aphrodite

Version:

Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation

89 lines (88 loc) 2.8 kB
{ "name": "aphrodite", "version": "2.4.0", "description": "Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation", "keywords": [ "css", "react", "inline-styles" ], "main": "lib/index.js", "module": "es/index.js", "typings": "typings/index.d.ts", "scripts": { "lint": "npm-run-all --parallel lint:*", "lint:js": "eslint --fix --cache . && flow check", "lint:ts": "tslint --project tsconfig.json --fix", "test": "npm run coverage", "posttest": "npm run lint", "coverage": "nyc --check-coverage --lines 100 --branches 100 npm run tests", "coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls", "pretest": "npm run build:prefixes", "tests": "cross-env BABEL_ENV=test mocha --require @babel/register tests", "tests:watch": "cross-env BABEL_ENV=test mocha --watch --require @babel/register tests", "prebuild": "rimraf dist/* lib/* es/*", "build": "npm-run-all --parallel build:*", "watch:build": "npm-run-all --parallel watch:build:*", "build:prefixes": "node tools/generate_prefixer_data.js", "build:main": "rollup -c", "watch:build:main": "npm run build:main -- --watch", "preversion": "npm test", "version": "npm run build && git add dist" }, "repository": { "type": "git", "url": "https://github.com/Khan/aphrodite.git" }, "author": "Jamie Wong", "license": "MIT", "bugs": { "url": "https://github.com/Khan/aphrodite/issues" }, "homepage": "https://github.com/Khan/aphrodite", "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/preset-flow": "^7.0.0", "@babel/register": "^7.0.0", "babel-eslint": "^10.0.1", "babel-plugin-istanbul": "^4.1.6", "babel-preset-airbnb": "^3.2.0", "caniuse-api": "^3.0.0", "chai": "^4.1.2", "coveralls": "^3.0.2", "cross-env": "^5.1.6", "cross-spawn": "^6.0.4", "eslint": "^5.16.0", "eslint-config-standard-react": "^4.2.0", "eslint-plugin-react": "^6.3.0", "flow-bin": "^0.74.0", "jsdom": "^11.11.0", "mkdirp": "^0.5.1", "mocha": "^5.2.0", "npm-run-all": "^4.1.3", "nyc": "^13.1.0", "rimraf": "^2.6.2", "rollup": "^1.2.2", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-uglify": "^6.0.2", "tslint": "^5.10.0", "typescript": "^2.9.1" }, "dependencies": { "asap": "^2.0.3", "inline-style-prefixer": "^5.1.0", "string-hash": "^1.1.3" }, "tonicExampleFilename": "examples/runkit.js", "nyc": { "exclude": [ "**/node_modules/**", "coverage", "tests" ] } }