package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "css-to-react-native",
  3. "version": "3.2.0",
  4. "description": "Convert CSS text to a React Native stylesheet object",
  5. "main": "index.js",
  6. "types": "index.d.ts",
  7. "scripts": {
  8. "build": "rollup ./src/index.js -o index.js --f cjs && babel index.js -o index.js",
  9. "test": "jest",
  10. "test:watch": "jest --watch",
  11. "lint": "eslint src",
  12. "prepublish": "npm run build",
  13. "precommit": "lint-staged",
  14. "lint-staged": "lint-staged"
  15. },
  16. "files": [
  17. "index.js",
  18. "index.d.ts",
  19. "src"
  20. ],
  21. "repository": {
  22. "type": "git",
  23. "url": "git+https://github.com/styled-components/css-to-react-native.git"
  24. },
  25. "keywords": [
  26. "styled-components",
  27. "React",
  28. "ReactNative",
  29. "styles",
  30. "CSS"
  31. ],
  32. "author": "Jacob Parker",
  33. "license": "MIT",
  34. "bugs": {
  35. "url": "https://github.com/styled-components/css-to-react-native/issues"
  36. },
  37. "homepage": "https://github.com/styled-components/css-to-react-native#readme",
  38. "jest": {
  39. "testURL": "http://localhost"
  40. },
  41. "devDependencies": {
  42. "@babel/cli": "^7.6.2",
  43. "@babel/preset-env": "^7.6.2",
  44. "eslint": "^4.17.0",
  45. "eslint-config-airbnb-base": "^12.1.0",
  46. "eslint-config-prettier": "^2.9.0",
  47. "eslint-plugin-import": "^2.8.0",
  48. "eslint-plugin-prettier": "^2.6.0",
  49. "jest": "^24.9.0",
  50. "lint-staged": "^6.1.0",
  51. "prettier": "^1.18.2",
  52. "rollup": "^1.22.0"
  53. },
  54. "dependencies": {
  55. "camelize": "^1.0.0",
  56. "css-color-keywords": "^1.0.0",
  57. "postcss-value-parser": "^4.0.2"
  58. },
  59. "lint-staged": {
  60. "*.js": [
  61. "eslint --fix",
  62. "git add"
  63. ]
  64. }
  65. }