|
|
@@ -16,6 +16,7 @@
|
|
|
"test:acceptance": "npm -q run test:acceptance:dir -- $@ test/acceptance/js",
|
|
|
"test:unit": "npm -q run compile && bin/unit_test $@",
|
|
|
"test:frontend": "npm -q run compile && bin/frontend_test $@",
|
|
|
+ "test:karma": "npm -q run compile && karma start --single-run",
|
|
|
"compile": "make compile",
|
|
|
"start": "npm -q run compile && node app.js",
|
|
|
"nodemon": "nodemon --config nodemon.json",
|
|
|
@@ -119,10 +120,18 @@
|
|
|
"grunt-postcss": "^0.8.0",
|
|
|
"grunt-sed": "^0.1.1",
|
|
|
"grunt-shell": "^2.1.0",
|
|
|
+ "karma": "^2.0.0",
|
|
|
+ "karma-chai-sinon": "^0.1.5",
|
|
|
+ "karma-chrome-launcher": "^2.2.0",
|
|
|
+ "karma-mocha": "^1.3.0",
|
|
|
+ "karma-requirejs": "^1.1.0",
|
|
|
+ "karma-tap-reporter": "0.0.6",
|
|
|
"mkdirp": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
|
|
|
"nodemon": "^1.14.3",
|
|
|
+ "requirejs": "^2.1.22",
|
|
|
"sandboxed-module": "0.2.0",
|
|
|
"sinon": "^1.17.0",
|
|
|
+ "sinon-chai": "^2.14.0",
|
|
|
"timekeeper": "",
|
|
|
"translations-sharelatex": "git+https://github.com/sharelatex/translations-sharelatex.git#master",
|
|
|
"webpack": "^3.10.0",
|