Skip to content

BladeRunnerJS/brjsify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The brjsify command allows you to convert a set of NPM libraries and their dependencies into a set of BRJS libraries. You use it by creating a package.json file within your BRJS app where dependencies contains the NPM dependencies your app directly depends on, and where devDependencies contains brjsify itself.

For example, if your BRJS app depends on react and redux, you might end up with a package.json configuration file like this:

"dependencies": {
  "react": "^0.14.3",
  "redux": "^3.0.4"
},
"devDependencies": {
  "brjsify": "^0.0.1"
},
"scripts": {
  "brjsify": "brjsify sdk/libs/javascript"
}

Given a set-up like this, provided you've first installed with npm install, you can export the NPM libraries directly into your sdk/libs/javascript directory as follows:

npm run brjsify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published