package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "name": "@kolab/$foldername",
  3. "version": "0.1.0",
  4. "scripts": {
  5. "test": "echo \"Error: no test specified\" && exit 1",
  6. "postinstall": "npm run compile",
  7. "compile": "cross-env NODE_ENV=production npm run compile-dev",
  8. "compile-dev": "npm run compile-src; npm run compile-test; npm run compile-frontend",
  9. "compile-both": "npm run compile-src; npm run compile-frontend",
  10. "compile-test": "babel test --out-dir test-build",
  11. "compile-src": "babel src --out-dir build",
  12. "compile-frontend": "webpack build/main.js build/bundle.js --module-bind 'js=babel-loader'",
  13. "watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile-dev --silent\""
  14. },
  15. "dependencies": {
  16. "babel-cli": "^6.14.0",
  17. "babel-core": "^6.14.0",
  18. "babel-loader": "^6.2.5",
  19. "babel-plugin-transform-remove-console": "^6.8.0",
  20. "babel-preset-es2015": "^6.14.0",
  21. "babel-preset-react": "^6.11.1",
  22. "cross-env": "^1.0.8",
  23. "react": "^15.3.2",
  24. "react-dom": "^15.3.2",
  25. "webpack": "^1.13.2"
  26. },
  27. "devDependencies": {
  28. "blue-tape": "^0.2.0",
  29. "nodemon": "^1.9.1"
  30. },
  31. "private": true
  32. }