started minutest builder

master
Dolan Miu 2016-10-19 21:01:33 +01:00
parent 36aa854636
commit e83cfd48f1
3 changed files with 35 additions and 0 deletions

1
builder/index.js Normal file
View File

@ -0,0 +1 @@
var minetest = require("./minetest");

11
builder/minetest/index.js Normal file
View File

@ -0,0 +1,11 @@
var glob = require("glob");
glob("assets/**/*.png", {
root: "/"
}, function(er, files) {
// files is an array of filenames.
// If the `nonull` option is set, and nothing
// was found, then files is ["**/*.js"]
// er is an error object or null.
console.log(files);
})

23
package.json Normal file
View File

@ -0,0 +1,23 @@
{
"name": "good-morning-craft-open",
"version": "1.0.0",
"description": "The best resource pack for minecraft ever",
"main": "builder/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node builder/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dolanmiu/Good-Morning-Craft-Open.git"
},
"author": "Dolan Miu",
"license": "MIT",
"bugs": {
"url": "https://github.com/dolanmiu/Good-Morning-Craft-Open/issues"
},
"homepage": "https://github.com/dolanmiu/Good-Morning-Craft-Open#readme",
"dependencies": {
"glob": "^7.1.1"
}
}