package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "amber",
  3. "version": "0.18.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": "git://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, nil = $boot.nilAsReceiver;\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": "^0.4.0",
  41. "grunt-contrib-clean": "^0.7.0",
  42. "grunt-contrib-jshint": "^0.11.0",
  43. "grunt-contrib-requirejs": "^0.4.4",
  44. "grunt-execute": "^0.2.1",
  45. "pegjs": "^0.9.0",
  46. "requirejs": "^2.1.15"
  47. }
  48. }