Commit c966cd4c authored by fxa's avatar fxa

made build the npm way

parent aa35786f
node_modules/
......@@ -40,13 +40,13 @@ or within a html document (see also demo.html):
If you want to clone the git project, be aware of the submodule uritemplate-test.
So you have to to:
git https://github.com/fxa/uritemplate-js.git
git submodule init
git submodule update
git clone --recursive https://github.com/fxa/uritemplate-js.git
Build
-----
jake clean build
npm install
npm test
Tests
-----
......
......@@ -12,6 +12,9 @@
"contributors": [],
"dependencies": {},
"main": "bin/uritemplate.js",
"scripts": {
"test": "jake clean build"
},
"licenses": [{
"type": "MIT",
"url": "http://www.opensource.org/licenses/mit-license.php"
......@@ -20,6 +23,7 @@
"src",
"test",
"bin",
"build",
"Jakefile.js",
"own-testcases.json",
"demo.html",
......@@ -33,15 +37,15 @@
"uritemplate-test/spec-examples-by-sections.json",
"uritemplate-test/spec-examples.json"
],
"version": "0.3.3",
"version": "0.3.4",
"readmeFilename": "README.md",
"gitHead": "901b85201a821427dfb4591b56aea3a70d45c67c",
"devDependencies": {
"jshint": "*",
"nodeunit": "*",
"jake": "*",
"uglify-js": "*",
"async": "*"
"jshint": "latest",
"nodeunit": "latest",
"jake": "latest",
"uglify-js": "latest",
"async": "latest"
},
"repository": {
"type": "git",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment