package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "@brwong/$foldername",
  3. "author": "Brandon Wong",
  4. "version": "0.1.0",
  5. "scripts": {
  6. "test": "echo \"Error: no test specified\" && exit 1",
  7. "postinstall": "npm run compile",
  8. "compile-prod": "cross-env NODE_ENV=production npm run compile",
  9. "compile": "npm run compile-src; npm run compile-test; npm run compile-frontend",
  10. "compile-both": "npm run compile-src; npm run compile-frontend",
  11. "compile-test": "babel test --out-dir test-build",
  12. "compile-src": "babel src --out-dir build",
  13. "compile-frontend": "webpack build/main.js build/bundle.js --module-bind 'js=babel-loader'",
  14. "watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile --silent\""
  15. },
  16. "dependencies": {
  17. "babel-cli": "^6.18.0",
  18. "babel-core": "^6.18.2",
  19. "babel-loader": "^6.2.8",
  20. "babel-plugin-transform-object-rest-spread": "^6.19.0",
  21. "babel-plugin-transform-remove-console": "^6.8.0",
  22. "babel-plugin-transform-runtime": "^6.15.0",
  23. "babel-preset-latest": "^6.16.0",
  24. "babel-preset-react": "^6.16.0",
  25. "cross-env": "^1.0.8",
  26. "react": "^15.4.1",
  27. "react-dom": "^15.4.1",
  28. "webpack": "^1.13.3"
  29. },
  30. "devDependencies": {
  31. "nodemon": "^1.9.1",
  32. "tape-promise": "^2.0.0",
  33. "tape": "^4.5.1"
  34. },
  35. "private": true
  36. }