UNPKG

afrododi

Version:

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

93 lines (92 loc) 2.93 kB
{ "name": "afrododi", "version": "3.1.4", "description": "Framework-agnostic async-compatible 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/communityfunded/afrododi.git" }, "author": "Jamie Wong", "license": "MIT", "bugs": { "url": "https://github.com/communityfunded/afrododi/issues" }, "homepage": "https://github.com/communityfunded/afrododi", "devDependencies": { "@types/react": "^16.7.20", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-plugin-istanbul": "^4.1.6", "babel-preset-airbnb": "^2.4.0", "babel-register": "^6.26.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": "^3.7.1", "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", "react": "^16.7.0", "rimraf": "^2.6.2", "rollup": "^0.64.1", "rollup-plugin-babel": "^3.0.7", "rollup-plugin-commonjs": "^9.1.5", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^4.0.0", "tslint": "^5.10.0", "typescript": "^2.9.1" }, "peerDependencies": { "react": ">= 16.3" }, "dependencies": { "asap": "^2.0.3", "hoist-non-react-statics": "^3.2.1", "inline-style-prefixer": "^4.0.2", "string-hash": "^1.1.3" }, "tonicExampleFilename": "examples/runkit.js", "nyc": { "exclude": [ "**/node_modules/**", "coverage", "tests" ] } }