react-with-styles-interface-css-compiler
Version:
Build step package for generating a static css file to support a react-with-styles project built with the react-with-styles CSS interface
74 lines (73 loc) • 3 kB
JSON
{
"name": "react-with-styles-interface-css-compiler",
"version": "2.2.0",
"description": "Build step package for generating a static css file to support a react-with-styles project built with the react-with-styles CSS interface",
"repository": "airbnb/react-with-styles-interface-css/tree/master/packages/compile",
"homepage": "https://github.com/airbnb/react-with-styles-interface-css#readme",
"bugs": "https://github.com/airbnb/react-with-styles-interface-css/issues",
"main": "index.js",
"bin": {
"compile-css": "bin/compile-css"
},
"scripts": {
"prebuild": "npm run clean",
"build": "babel src --out-dir dist",
"clean": "rimraf dist",
"dev": "npm run build -- --watch",
"lint": "eslint .",
"jest": "jest",
"pretest": "npm run lint",
"test": "npm run test:only",
"test:only": "npm run jest",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*[AM].*packages/compiler/CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
"tag": "git tag compiler-v$npm_package_version",
"postversion": "git commit package.json CHANGELOG.md -m \"[compiler] Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"preversion": "npm test && npm run check-changelog && npm run check-only-changelog-changed",
"version:major": "npm --no-git-tag-version version major",
"version:minor": "npm --no-git-tag-version version minor",
"version:patch": "npm --no-git-tag-version version patch"
},
"keywords": [
"react-with-styles",
"css-in-js",
"css"
],
"author": "Felipe Vargas <felipe@fvgs.ai> (fvgs.ai)",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"babel-jest": "^24.9.0",
"babel-preset-airbnb": "^4.0.1",
"chai": "^4.2.0",
"dashify": "^0.2.2",
"eslint": "^5.6.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"in-publish": "^2.0.0",
"jest": "^24.9.0",
"react": "^0.14 || ^15.6.0 || ^16.1.1",
"react-dom": "^0.14 || ^15.6.0 || ^16.1.1",
"react-with-styles": "^4.0.0",
"rimraf": "^2.6.2",
"safe-publish-latest": "^1.1.2"
},
"dependencies": {
"@babel/register": "^7.5.5",
"@babel/runtime": "^7.5.5",
"aphrodite": "^2.2.3",
"clean-css": "^4.2.1",
"global-cache": "^1.2.1",
"jsdom": "^11.12.0",
"object.entries": "^1.0.4",
"object.values": "^1.0.4",
"react-with-styles-interface-css": "^6.0.0"
},
"peerDependencies": {
"aphrodite": "^2.2.0",
"react": "^0.14 || ^15.6.0 || ^16.1.1",
"react-dom": "^0.14 || ^15.6.0 || ^16.1.1"
}
}