Skip to content

Commit

Permalink
Add required changes to public on npm
Browse files Browse the repository at this point in the history
  • Loading branch information
kierzniak committed Mar 15, 2018
1 parent a011955 commit 3b65119
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 19 deletions.
21 changes: 21 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Dependency directories
node_modules/

# Build tasks
tasks

# dotenv environment variables file
.env

# Source directory
lib

# Public upload directory
public
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#! /usr/bin/env node

import config from "./config/";
import "./db/";

Expand Down
43 changes: 24 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,16 @@
"name": "motimize",
"version": "0.0.0",
"description": "Motimize is open sourced image optimizer web service.",
"main": "lib/index.js",
"main": "dist/index.js",
"license": "MIT",
"dependencies": {
"@meanie/mongoose-to-json": "^2.2.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"boom": "^7.2.0",
"bull": "^3.3.10",
"dotenv": "^5.0.1",
"download": "^6.2.5",
"eslint": "^4.18.2",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsdoc": "^3.5.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"express": "^4.16.2",
"file-type": "^7.6.0",
"gulp": "4.0.0",
"gulp-eslint": "^4.0.2",
"gulp-notify": "^3.2.0",
"imagemin": "^5.3.1",
"imagemin-jpegoptim": "^5.2.0",
"imagemin-mozjpeg": "^7.0.0",
Expand All @@ -36,14 +20,35 @@
"mime-types": "^2.1.18",
"mongoose": "^5.0.9",
"nconf": "^0.10.0",
"nodemon": "^1.17.1",
"prettier": "^1.11.1",
"read-chunk": "^2.1.0",
"request": "^2.85.0",
"request-promise": "^4.2.2",
"tempfile": "^2.0.0",
"winston": "^2.4.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"eslint": "^4.18.2",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsdoc": "^3.5.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"gulp": "4.0.0",
"gulp-eslint": "^4.0.2",
"gulp-notify": "^3.2.0",
"nodemon": "^1.17.1",
"prettier": "^1.11.1"
},
"bin": {
"motimize": "./dist/index.js"
},
"babel": {
"presets": [
[
Expand Down

0 comments on commit 3b65119

Please sign in to comment.