Skip to content

Commit

Permalink
build(package): add files key and refactor
Browse files Browse the repository at this point in the history
Reorganised all the fields to be in the correct order and added
files key to only install the needed files
  • Loading branch information
Sean Hamilton committed Feb 17, 2019
1 parent 072a7b2 commit 3a95f36
Showing 1 changed file with 24 additions and 16 deletions.
40 changes: 24 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@
"name": "o",
"version": "1.1.3",
"description": "common object helper functions",
"keywords": [
"object",
"helper"
],
"homepage": "https://o.hammy2899.xyz/",
"bugs": {
"url": "https://github.com/hammy2899/o/issues"
},
"license": "MIT",
"author": "hammy2899",
"files": [
"CHANGELOG.md",
"LICENSE.md",
"README.md",
"dist/",
"package.json",
"package-lock.json"
],
"main": "dist/o.js",
"module": "src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/hammy2899/o.git"
},
"scripts": {
"coveralls": "cat ./coverage/lcov.info | coveralls",
"clean": "rm -rf ./dist",
Expand All @@ -21,20 +43,9 @@
"docs": "npm-run-all docs:clean docs:esdoc docs:cname",
"release": "standard-version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hammy2899/o.git"
},
"keywords": [
"object",
"helper"
],
"author": "hammy2899",
"license": "MIT",
"bugs": {
"url": "https://github.com/hammy2899/o/issues"
"dependencies": {
"circle-assign": "^2.0.0"
},
"homepage": "https://github.com/hammy2899/o#readme",
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
Expand All @@ -58,9 +69,6 @@
"standard-version": "^5.0.0",
"uglify-js": "^3.4.9"
},
"dependencies": {
"circle-assign": "^2.0.0"
},
"jest": {
"collectCoverageFrom": [
"src/*.js"
Expand Down

0 comments on commit 3a95f36

Please # to comment.