mirror of
https://github.com/jamiebuilds/the-super-tiny-compiler.git
synced 2024-10-27 20:34:08 +00:00
Configuration
This commit is contained in:
parent
386d1efd5b
commit
110068e7a5
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.DS_Store
|
||||||
|
.merlin
|
||||||
|
npm-debug.log
|
||||||
|
/lib/bs/
|
||||||
|
/node_modules/
|
14
bsconfig.json
Normal file
14
bsconfig.json
Normal file
@ -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
|
||||||
|
}
|
11
package.json
11
package.json
@ -1,7 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "the-super-tiny-compiler",
|
"name": "the-super-tiny-compiler",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "James Kyle <me@thejameskyle.com> (thejameskyle.com)",
|
"scripts": {
|
||||||
"license": "CC-BY-4.0",
|
"build": "bsb -make-world",
|
||||||
"main": "./the-super-tiny-compiler.js"
|
"start": "bsb -make-world -w",
|
||||||
|
"clean": "bsb -clean-world"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"bs-platform": "1.9.2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user