package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "icss-utils",
  3. "version": "4.1.1",
  4. "description": "ICSS utils for postcss ast",
  5. "main": "lib/index.js",
  6. "engines": {
  7. "node": ">= 6"
  8. },
  9. "files": [
  10. "lib"
  11. ],
  12. "scripts": {
  13. "lint": "eslint . --ignore-path .gitignore",
  14. "build": "babel --out-dir lib src",
  15. "pretest": "npm run lint",
  16. "test": "npm run test:only",
  17. "test:only": "jest",
  18. "prepublish": "yarn test && yarn run build"
  19. },
  20. "babel": {
  21. "presets": [
  22. [
  23. "@babel/preset-env",
  24. {
  25. "targets": {
  26. "node": 6
  27. }
  28. }
  29. ]
  30. ]
  31. },
  32. "eslintConfig": {
  33. "parser": "babel-eslint",
  34. "parserOptions": {
  35. "sourceType": "module"
  36. },
  37. "env": {
  38. "es6": true,
  39. "jest": true
  40. },
  41. "extends": "eslint:recommended"
  42. },
  43. "lint-staged": {
  44. "*.js": [
  45. "prettier --write",
  46. "eslint",
  47. "git add"
  48. ]
  49. },
  50. "husky": {
  51. "hooks": {
  52. "pre-commit": "lint-staged"
  53. }
  54. },
  55. "repository": {
  56. "type": "git",
  57. "url": "git+https://github.com/css-modules/icss-utils.git"
  58. },
  59. "keywords": [
  60. "css",
  61. "modules",
  62. "icss",
  63. "postcss"
  64. ],
  65. "author": "Glen Maddern",
  66. "license": "ISC",
  67. "bugs": {
  68. "url": "https://github.com/css-modules/icss-utils/issues"
  69. },
  70. "homepage": "https://github.com/css-modules/icss-utils#readme",
  71. "dependencies": {
  72. "postcss": "^7.0.14"
  73. },
  74. "devDependencies": {
  75. "@babel/cli": "^7.1.0",
  76. "@babel/core": "^7.1.0",
  77. "@babel/preset-env": "^7.1.0",
  78. "babel-eslint": "^10.0.1",
  79. "babel-jest": "^24.1.0",
  80. "eslint": "^5.14.1",
  81. "husky": "^1.3.1",
  82. "jest": "^24.1.0",
  83. "lint-staged": "^8.1.4",
  84. "prettier": "^1.16.4"
  85. }
  86. }