package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "amber",
  3. "version": "0.19.0-pre",
  4. "description": "An implementation of the Smalltalk language that runs on top of the JS runtime.",
  5. "homepage": "http://amber-lang.net",
  6. "keywords": [
  7. "javascript",
  8. "smalltalk",
  9. "language",
  10. "compiler",
  11. "web"
  12. ],
  13. "author": {
  14. "name": "Nicolas Petton",
  15. "email": "petton.nicolas@gmail.com",
  16. "url": "http://www.nicolas-petton.fr"
  17. },
  18. "license": "MIT",
  19. "repository": {
  20. "type": "git",
  21. "url": "https://lolg.it/amber/amber.git"
  22. },
  23. "engines": {
  24. "node": "0.10.x || 0.12.x || >=4.0.0"
  25. },
  26. "strings": {
  27. "buildParserBegin": "define(['./boot'], function($boot) {\nvar $globals = $boot.globals;\n",
  28. "buildParserEnd": "});"
  29. },
  30. "scripts": {
  31. "build:parser:begin": "node -e \"process.stdout.write(require('./package.json').strings.buildParserBegin);\"",
  32. "build:parser": "(npm run -s build:parser:begin && pegjs --cache --export-var \"$\"globals.SmalltalkParser < support/parser.pegjs && npm run -s build:parser:end) > support/parser.js",
  33. "build:parser:end": "node -e \"process.stdout.write(require('./package.json').strings.buildParserEnd);\"",
  34. "test": "npm run test:sunit && npm run test:e2e",
  35. "test:sunit": "grunt test",
  36. "test:e2e": "(cd external && cd amber-cli && npm test)"
  37. },
  38. "devDependencies": {
  39. "amber-compat-es2015": "^0.1.4",
  40. "grunt": "1.0.1",
  41. "grunt-contrib-clean": "^1.1.0",
  42. "grunt-contrib-jshint": "^1.1.0",
  43. "grunt-contrib-requirejs": "^1.0.0",
  44. "grunt-exec": "^2.0.0",
  45. "pegjs": "^0.9.0",
  46. "requirejs": "^2.1.15"
  47. }
  48. }