summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorTrey Hunner <trey@treyhunner.com>2015-04-14 10:55:57 -0400
committerTim Graham <timograham@gmail.com>2015-06-30 21:04:16 -0400
commit2d0dead224b6448072b72b37d2fbcc8dc3afa007 (patch)
tree6dfb01a60cefc0dcf5cdcb35ac5c946a2cab98e0 /package.json
parent3bbaf84d6533fb61ac0038f2bbe52ee0d7b4fd10 (diff)
downloaddjango-2d0dead224b6448072b72b37d2fbcc8dc3afa007.tar.gz
DEP 0003 -- Added JavaScript unit tests.
Setup QUnit, added tests, and measured test coverage. Thanks to Nick Sanford for the initial tests.
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/package.json b/package.json
index 3370c8c04e..d926bdc5fa 100644
--- a/package.json
+++ b/package.json
@@ -2,9 +2,13 @@
"name": "Django",
"private": true,
"scripts": {
- "pretest": "eslint django/"
+ "pretest": "eslint django/",
+ "test": "grunt test --verbose"
},
"devDependencies": {
- "eslint": "^0.22.1"
+ "eslint": "^0.22.1",
+ "grunt": "^0.4.5",
+ "grunt-blanket-qunit": "^0.2.0",
+ "grunt-cli": "^0.1.13"
}
}