Add convert scripts
Showing
.babelrc
0 → 100644
This diff is collapsed.
Click to expand it.
examples/imageAfterLoop.docx
0 → 100644
File added
gulpfile.js
deleted
100644 → 0
npm-shrinkwrap.json
0 → 100644
This diff is collapsed.
Click to expand it.
... | ... | @@ -4,15 +4,17 @@ |
"description": "Image Module for docxtemplater v1.0", | ||
"main": "js/index.js", | ||
"scripts": { | ||
"test": "mocha" | ||
"convertto:es6": "rm es6 -rf; mkdir -p es6; for i in coffee/*.coffee; do echo \"$i\"; decaffeinate \"$i\"; mv \"${i%.coffee}.js\" \"${i%.coffee}.es6\"; done; for i in coffee/*.es6; do mv \"$i\" \"es6${i#coffee}\"; done ", | ||
"convertto:es5": "rm js -rf ; mkdir -p test/spec; mkdir -p js; babel es6 --out-dir js; mv js/test.js test/test.js", | ||
"test:compiled": "mocha", | ||
"test": "npm run convertto:es6 && npm run convertto:es5 && npm run test:compiled" | ||
}, | ||
"devDependencies": { | ||
"chai": "^1.10.0", | ||
"gulp": "~3.8.0", | ||
"gulp-coffee": "~2.0.1", | ||
"gulp-uglify": "~0.3.0", | ||
"gulp-browserify": "^0.5.0", | ||
"gulp-watch": "~0.6.5" | ||
"babel-preset-es2015": "^6.3.13", | ||
"chai": "^3.4.1", | ||
"docxtemplater": "^2.0.0", | ||
"eslint": "^1.10.3", | ||
"mocha": "^2.4.5" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -21,10 +23,11 @@ |
"author": "Edgar Hipp", | ||
"license": "MIT", | ||
"dependencies": { | ||
"docxtemplater": "^1.0.8", | ||
"decaffeinate": "^1.44.12", | ||
"docxtemplater": "^2.0.0", | ||
"jszip": "^2.4.0", | ||
"png-js": "^0.1.1", | ||
"qrcode-reader": "0.0.5", | ||
"xmldom": "^0.1.19" | ||
"qrcode-reader": "0.0.7", | ||
"xmldom": "0.1.19" | ||
} | ||
} |
Please
register
or
sign in
to comment