UNPKG

jss-cache

Version:

JSS plugin that caches the rules and delivers insane performance.

88 lines (87 loc) 2.79 kB
{ "name": "jss-cache", "description": "JSS plugin that caches the rules and delivers insane performance.", "version": "3.0.0", "author": { "name": "Oleg Slobodskoi", "email": "oleg008@gmail.com" }, "repository": { "type": "git", "url": "git@github.com:cssinjs/jss-cache.git" }, "keywords": [ "cssinjs", "css-in-js", "css in js", "jss", "plugin", "cache", "insane" ], "engines": {}, "scripts": { "all": "npm run lint && npm run test && npm run build", "build": "npm run clean && npm run build:lib && npm run build:tests && npm run build:dist", "build:lib": "babel src --out-dir lib", "build:tests": "npm run build:tests:lib && npm run build:tests:local", "build:tests:lib": "cross-env NODE_ENV=test babel src --out-dir tests", "build:tests:local": "cross-env NODE_ENV=test webpack src/index.test.js tmp/tests.js", "build:dist": "npm run build:dist:max && npm run build:dist:min", "build:dist:max": "cross-env NODE_ENV=development webpack src/index.js dist/jss-cache.js", "build:dist:min": "cross-env NODE_ENV=production webpack src/index.js dist/jss-cache.min.js", "clean": "rimraf {lib,dist,tests,tmp}/*", "lint": "eslint ./src", "lint:staged": "lint-staged", "test": "cross-env NODE_ENV=test karma start --single-run ", "test:watch": "cross-env NODE_ENV=test karma start", "prepublish": "npm run all" }, "license": "MIT", "main": "lib/index.js", "devDependencies": { "babel-cli": "^6.5.1", "babel-core": "^6.5.1", "babel-eslint": "^7.1.0", "babel-loader": "^6.2.4", "babel-plugin-transform-es3-member-expression-literals": "^6.8.0", "babel-plugin-transform-es3-property-literals": "^6.8.0", "babel-preset-es2015": "^6.9.0", "babel-preset-stage-0": "^6.5.0", "cross-env": "^3.1.3", "es5-shim": "^4.5.9", "eslint": "^3.9.1", "eslint-config-airbnb": "^12.0.0", "eslint-config-jss": "^2.4.0", "eslint-plugin-import": "^2.1.0", "eslint-plugin-jsx-a11y": "^2.2.3", "eslint-plugin-react": "^6.5.0", "expect.js": "^0.3.1", "jss": "^9.0.0", "karma": "^1.1.1", "karma-benchmark": "^0.6.0", "karma-benchmark-reporter": "^0.1.1", "karma-browserstack-launcher": "^1.0.0", "karma-chrome-launcher": "^2.0.0", "karma-coverage": "^1.1.1", "karma-mocha": "^1.1.1", "karma-mocha-reporter": "^2.2.0", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^1.8.0", "lint-staged": "^3.0.3", "mocha": "^3.0.2", "pre-commit": "^1.1.3", "rimraf": "^2.5.4", "webpack": "^1.13.1" }, "peerDependencies": { "jss": "^9.0.0" }, "lint-staged": { "./src/*.js": [ "eslint", "git add" ] }, "pre-commit": "lint:staged" }