Configuration

pull/60/head
Javier Chávarri 7 years ago
parent 386d1efd5b
commit 110068e7a5

5
.gitignore vendored

@ -0,0 +1,5 @@
.DS_Store
.merlin
npm-debug.log
/lib/bs/
/node_modules/

@ -0,0 +1,14 @@
// This is the configuration file used by BuckleScript's build system bsb. Its documentation lives here: http://bucklescript.github.io/bucklescript/docson/#build-schema.json
// BuckleScript comes with its own parser for bsconfig.json, which is normal JSON, with the extra support of comments and trailing commas.
{
"name": "the-super-tiny-compiler",
"version": "0.1.0",
"bsc-flags": ["-bs-super-errors"],
"sources": [
"src"
],
"bs-dependencies" : [
// add your dependencies here. You'd usually install them normally through `npm install my-dependency`. If my-dependency has a bsconfig.json too, then everything will work seamlessly.
],
"namespace": true
}

@ -1,7 +1,12 @@
{
"name": "the-super-tiny-compiler",
"version": "1.0.0",
"author": "James Kyle <me@thejameskyle.com> (thejameskyle.com)",
"license": "CC-BY-4.0",
"main": "./the-super-tiny-compiler.js"
"scripts": {
"build": "bsb -make-world",
"start": "bsb -make-world -w",
"clean": "bsb -clean-world"
},
"devDependencies": {
"bs-platform": "1.9.2"
}
}

Loading…
Cancel
Save