109 lines
3.1 KiB
JSON
109 lines
3.1 KiB
JSON
{
|
|
"name": "react-jss",
|
|
"version": "8.6.1",
|
|
"description": "JSS integration with React",
|
|
"main": "lib/index.js",
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"scripts": {
|
|
"all": "npm run lint && npm run test && npm run build && npm run size",
|
|
"build": "npm run clean && npm run build:lib && npm run build:dist",
|
|
"build:lib": "babel src --out-dir lib --ignore src/tests",
|
|
"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/react-jss.js",
|
|
"build:dist:min": "cross-env NODE_ENV=production webpack src/index.js dist/react-jss.min.js",
|
|
"clean": "rimraf {lib,dist,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",
|
|
"prepublishOnly": "npm run all",
|
|
"size": "size-limit 22KB dist/react-jss.js",
|
|
"preversion": "npm run size"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/cssinjs/react-jss.git"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"style",
|
|
"css",
|
|
"stylesheet",
|
|
"jss",
|
|
"hoc",
|
|
"decorator"
|
|
],
|
|
"author": "Dan Abramov <dan.abramov@me.com> (http://github.com/gaearon)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/cssinjs/react-jss/issues"
|
|
},
|
|
"homepage": "https://github.com/cssinjs/react-jss",
|
|
"peerDependencies": {
|
|
"react": ">=0.13"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.10.1",
|
|
"babel-core": "^6.9.1",
|
|
"babel-eslint": "^7.0.0",
|
|
"babel-loader": "^6.4.1",
|
|
"babel-plugin-istanbul": "^3.0.0",
|
|
"babel-plugin-rewire": "^1.1.0",
|
|
"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-react": "^6.5.0",
|
|
"babel-preset-stage-0": "^6.5.0",
|
|
"common-tags": "^1.4.0",
|
|
"cross-env": "^3.0.0",
|
|
"es5-shim": "^4.5.9",
|
|
"eslint": "^3.6.0",
|
|
"eslint-config-airbnb": "^12.0.0",
|
|
"eslint-config-jss": "^2.3.0",
|
|
"eslint-plugin-import": "^2.0.0",
|
|
"eslint-plugin-jsx-a11y": "^2.2.2",
|
|
"eslint-plugin-react": "^6.3.0",
|
|
"expect.js": "^0.3.1",
|
|
"karma": "^1.3.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": "^4.0.1",
|
|
"mocha": "^3.0.2",
|
|
"pre-commit": "^1.1.3",
|
|
"puppeteer": "^0.13.0",
|
|
"react": "^16.1.0",
|
|
"react-dom": "^16.1.0",
|
|
"rimraf": "^2.5.4",
|
|
"sinon": "^4.5.0",
|
|
"size-limit": "^0.2.0",
|
|
"webpack": "^1.13.1"
|
|
},
|
|
"dependencies": {
|
|
"hoist-non-react-statics": "^2.5.0",
|
|
"jss": "^9.7.0",
|
|
"jss-preset-default": "^4.3.0",
|
|
"prop-types": "^15.6.0",
|
|
"theming": "^1.3.0"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"pre-commit": "lint:staged",
|
|
"files": [
|
|
"lib",
|
|
"dist",
|
|
"readme.md",
|
|
"changelog.md",
|
|
"LICENSE"
|
|
]
|
|
}
|