Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bobril-build

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bobril-build

Builds Bobril Applications or Libraries

  • 0.16.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.6K
decreased by-29.3%
Maintainers
1
Weekly downloads
 
Created
Source

bobril-build

Helper tool to build Bobril applications Mainly it will support copying sprites, building big sprites. support i18n. All this during optimal TypeScript compilation.

How to use:

npm install bobril-build -g

Then create package.json with typescript.main or name your main ts file as index.ts or app.ts and start:

bb

This will start bobril build in interactive mode. It will watch changes of your application, recompile and host in on http://localhost:8080. It uses latest Typescript to compile and prefer Node moduleResolution. Compilation for maximum speed enables skipDefaultLibCheck.

There is also command line single build option. Start to learn all options:

bb -h

For development of bobril-build check out this project and start:

npm link
gulp

It reads package.json and understands:

{
	"typescript": {
		"main": "pathToMain.ts"
	},
	"bobril": {
		"dir": "name of directory where to place release default is dist",
		"resourcesAreRelativeToProjectDir": false, // this is default
		"example": "pathToExample.ts", // sample application entry point - if main is index.ts than example.ts is searched for default
		"title": "index.html Title",
		"constantOverrides": {
			"module_name": {
				"export_name": "New value, it supports also number and boolean values"
			}
		}
	}
}

It is currently not selfhosting but it will come...

FAQs

Package last updated on 11 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc