3.0.0
Showing
... | @@ -5,12 +5,11 @@ | ... | @@ -5,12 +5,11 @@ |
"main": "js/index.js", | "main": "js/index.js", | ||
"scripts": { | "scripts": { | ||
"compile": "rimraf js && mkdirp js && babel es6 --out-dir js", | "compile": "rimraf js && mkdirp js && babel es6 --out-dir js", | ||
"preversion": "rimraf build && mkdirp build && npm run compile && npm run browserify && npm run uglify", | "preversion": "npm test", | ||
"test:compiled": "mocha js/test.js", | "test:compiled": "mocha js/test.js", | ||
"test:es6": "mocha es6/test.js", | "test:es6": "mocha es6/test.js", | ||
"lint": "eslint .", | "lint": "eslint .", | ||
"test": "npm run compile && npm run test:compiled", | "test": "npm run compile && npm run test:compiled", | ||
"preversion": "npm test", | |||
"browserify": "browserify --insert-global-vars __filename,__dirname -r ./js/index.js -s ImageModule > build/imagemodule.js", | "browserify": "browserify --insert-global-vars __filename,__dirname -r ./js/index.js -s ImageModule > build/imagemodule.js", | ||
"uglify": "uglifyjs build/imagemodule.js > build/imagemodule.min.js" | "uglify": "uglifyjs build/imagemodule.js > build/imagemodule.min.js" | ||
}, | }, | ||
... | @@ -25,7 +24,6 @@ | ... | @@ -25,7 +24,6 @@ |
"jszip": "^2.6.0", | "jszip": "^2.6.0", | ||
"mocha": "^2.4.5", | "mocha": "^2.4.5", | ||
"mkdirp": "^0.5.1", | "mkdirp": "^0.5.1", | ||
"mocha": "^2.4.5", | |||
"rimraf": "^2.5.4", | "rimraf": "^2.5.4", | ||
"uglifyjs": "^2.4.10" | "uglifyjs": "^2.4.10" | ||
}, | }, | ||
... | @@ -35,6 +33,5 @@ | ... | @@ -35,6 +33,5 @@ |
}, | }, | ||
"author": "Edgar Hipp", | "author": "Edgar Hipp", | ||
"license": "MIT", | "license": "MIT", | ||
"dependencies": { | "dependencies": {} | ||
} | |||
} | } |
Please
register
or
sign in
to comment