diff --git a/minify.sh b/minify.sh index 64f59f6..57adc87 100755 --- a/minify.sh +++ b/minify.sh @@ -8,4 +8,5 @@ for i in "${FILES[@]}" do echo "minify ${i} ..." $(npm bin)/uglifyjs public/${i}.bundle.js ${OPTIONS} -o public/${i}.bundle.js + rm -f public/${i}.bundle.js.map done diff --git a/package-lock.json b/package-lock.json index f85a287..5a0dca3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -128,7 +128,8 @@ "commander": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.6.0.tgz", - "integrity": "sha1-nfflL7Kgyw+4kFjugMMQQiXzfh0=" + "integrity": "sha1-nfflL7Kgyw+4kFjugMMQQiXzfh0=", + "dev": true }, "concurrently": { "version": "3.5.0", @@ -631,8 +632,15 @@ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.0.26.tgz", "integrity": "sha512-+D/BjzuvT1oRMSkH0fuF3M/BCvDxDywmZasd1UTPPHsdsHZqJEAZSvrojgFlS7lrM3ZZWq5h7Bb5i96X1TbOJw==", "requires": { - "commander": "2.6.0", + "commander": "2.11.0", "source-map": "0.5.6" + }, + "dependencies": { + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" + } } }, "uuid": { diff --git a/package.json b/package.json index 337f54c..dfa8863 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opt-cc", - "version": "1.1.2", + "version": "1.1.3", "license": "MIT", "private": true, "scripts": { diff --git a/static/package.json b/static/package.json index 997028a..8821e30 100644 --- a/static/package.json +++ b/static/package.json @@ -51,7 +51,6 @@ "protractor": "~5.1.1", "protractor-jasmine2-screenshot-reporter": "^0.3.2", "ts-node": "1.2.1", - "tslint": "^4.3.0", - "typescript": "^2.3.2" + "tslint": "^4.3.0" } }