Permalink
Browse files

feat: prepare code for npm publishing

  • Loading branch information...
1 parent 8f93abd commit 42ca2f29a1911ec1ba2421f3fcf96188e4ffe750 @itsjavi itsjavi committed Jun 15, 2017
Showing with 16 additions and 21 deletions.
  1. +1 −0 .editorconfig
  2. +1 −0 .gitignore
  3. +0 −17 .project
  4. +3 −2 Gruntfile.js
  5. 0 MIT-LICENSE → LICENSE
  6. +11 −2 package.json
View
@@ -19,3 +19,4 @@ indent_size = 2
[Gruntfile.js]
indent_style = space
indent_size = 2
+
View
@@ -1,6 +1,7 @@
# Eclipse files
.project
.settings
+.idea
# Grunt files
.grunt
View
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>melonJS</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.aptana.ide.core.unifiedBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.aptana.projects.webnature</nature>
- </natures>
-</projectDescription>
View
@@ -16,7 +16,7 @@ module.exports = function (grunt) {
pkg : grunt.file.readJSON("package.json"),
path : {
main : "build/<%= pkg.name %>.js",
- min : "build/<%= pkg.name %>-min.js"
+ min : "build/<%= pkg.name %>.min.js"
},
concat : {
@@ -222,7 +222,8 @@ module.exports = function (grunt) {
expand : true,
src : [
"index.html",
- "build/melonJS.js",
+ "build/melonjs.js",
+ "build/melonjs.min.js",
"docs/**",
"examples/**",
"media/logo.png",
File renamed without changes.
View
@@ -1,5 +1,5 @@
{
- "name": "melonJS",
+ "name": "melonjs",
"version": "4.1.1",
"description": "MelonJS Game Engine",
"homepage": "http://www.melonjs.org/",
@@ -18,7 +18,16 @@
"engines": {
"node": ">= 6"
},
- "main": "build/melonJS.js",
+ "main": "build/melonjs.js",
+ "files": [
+ "build/melonjs.js",
+ "build/melonjs.min.js",
+ "plugins/",
+ "package.json",
+ "README.md",
+ "LICENSE",
+ "CHANGELOG"
+ ],
"dependencies": {},
"devDependencies": {
"dot": "git+https://github.com/parasyte/doT.git#bug/replace-ext",

0 comments on commit 42ca2f2

Please sign in to comment.