Note: karma with dart is still not working because of how `karma-dart` loads `package:…` dependencies. Usage: ``` karma start karma-js.conf.js karma start karma-dart.conf.js ``` Make sure to set `DARTIUM_BIN` env variable. Refactors `js2dart`: - live outside of the traceur module (`tools/js2dart/index.js`) so it can be reused by gulp and karma - automatically build the sources in memory, so that `js2dart` can be used without running `gulp build` first - provide a way to specify the moduleName of a compilation run independently of the input filename. This helps error messages and source maps (not yet enabled) to report the correct file name Changes project setup: - add module `test_lib` that contains the primitives for tests (e.g. `describe`, `it`, …) - clean up some sources that had errors in them - module names in transpiled js and dart files don’t contain `lib`, `test` nor `src` any more (e.g. `di/di`).
30 lines
711 B
JSON
30 lines
711 B
JSON
{
|
|
"name": "angular",
|
|
"version": "0.0.0",
|
|
"description": "Angular",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "Tobias Bosch <tbosch@google.com>",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"gulp": "^3.8.8",
|
|
"gulp-rename": "^1.2.0",
|
|
"gulp-shell": "^0.2.9",
|
|
"gulp-watch": "^1.0.3",
|
|
"karma": "^0.12.23",
|
|
"karma-chrome-launcher": "^0.1.4",
|
|
"karma-dart": "^0.2.8",
|
|
"karma-jasmine": "^0.2.2",
|
|
"q": "^1.0.1",
|
|
"through2": "^0.6.1",
|
|
"event-stream": "^3.1.5",
|
|
"gulp-connect": "~1.0.5",
|
|
"gulp-rimraf": "^0.1.0",
|
|
"run-sequence": "^0.3.6",
|
|
"glob": "^4.0.6",
|
|
"gulp-ejs": "^0.3.1",
|
|
"traceur": "0.0.66"
|
|
}
|
|
}
|