Make NPM pkg flat. Remove src dir. Add build to npmignore.

pull/20/head
Paul Miller 6 years ago
parent b39d0910cb
commit d869070880

@ -5,3 +5,4 @@
.travis.yml .travis.yml
.npmignore .npmignore
bower.json bower.json
/build/

@ -2,7 +2,7 @@
"name": "js-sha3", "name": "js-sha3",
"version": "0.8.0", "version": "0.8.0",
"description": "A simple SHA-3 / Keccak / Shake hash function for JavaScript supports UTF-8 encoding.", "description": "A simple SHA-3 / Keccak / Shake hash function for JavaScript supports UTF-8 encoding.",
"main": "src/sha3.js", "main": "sha3.js",
"devDependencies": { "devDependencies": {
"expect.js": "~0.3.1", "expect.js": "~0.3.1",
"mocha": "~2.3.4", "mocha": "~2.3.4",
@ -14,7 +14,7 @@
"test": "nyc mocha tests/node-test.js", "test": "nyc mocha tests/node-test.js",
"report": "nyc --reporter=html --reporter=text mocha tests/node-test.js", "report": "nyc --reporter=html --reporter=text mocha tests/node-test.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls", "coveralls": "nyc report --reporter=text-lcov | coveralls",
"build": "uglifyjs src/sha3.js -c -m --comments --output build/sha3.min.js" "build": "uglifyjs sha3.js -c -m --comments --output build/sha3.min.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

Loading…
Cancel
Save