Remove coffee
Showing
coffee/docUtils.coffee
deleted
100644 → 0
coffee/docxQrCode.coffee
deleted
100644 → 0
coffee/imgManager.coffee
deleted
100644 → 0
coffee/imgReplacer.coffee
deleted
100644 → 0
coffee/index.coffee
deleted
100644 → 0
coffee/test.coffee
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
... | @@ -4,10 +4,9 @@ | ... | @@ -4,10 +4,9 @@ |
"description": "Image Module for docxtemplater v1.0", | "description": "Image Module for docxtemplater v1.0", | ||
"main": "js/index.js", | "main": "js/index.js", | ||
"scripts": { | "scripts": { | ||
"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 ", | "compile": "rm js -rf ; mkdir -p test/spec; mkdir -p js; babel es6 --out-dir js; mv js/test.js test/test.js", | ||
"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:compiled": "mocha", | ||
"test": "npm run convertto:es6 && npm run convertto:es5 && npm run test:compiled" | "test": "npm run compile && npm run test:compiled" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"babel-preset-es2015": "^6.3.13", | "babel-preset-es2015": "^6.3.13", | ||
... | ... |
Please
register
or
sign in
to comment