0.4.5 • Published 8 years ago
tapas-build v0.4.5
Tapas-build
A command line tools for building React project.
Install
$ npm install tapas-build -g
Usage
$ tapas-build --index pathToYourIndex.html <entry> <output>
Options
-h, --help
-p, --production
-i. --index
You can also add the config variables tapas
to your projects package.json like this:
"tapas": {
"entry": "./client/app.js",
"output": "./build",
"index": "./template.html",
"vendor": ["react", "react-dom"],
"babelLoaderPlugins": ["./scripts/babelRelayPlugin"],
"port": "12306",
"cssModules": true,
"aliasRoot" : "#",
"resolveRoot": "/absolute/path/to/your/src/directory",
"autoExternals": true,
"proxy": {
"/api": "http://example.com:23000/no-slash-at-the-end",
"/backend": "http://example.com"
}
}
The keys of tapas'proxy' follows the pattern of parameter 'path' used in app.use(path, middleware). Check the details here.
License
Copyright (c) 2015 Tapas Tech
0.4.5
8 years ago
0.4.4
8 years ago
0.4.3
8 years ago
0.4.2
8 years ago
0.4.1
8 years ago
0.4.0
8 years ago
0.3.0
8 years ago
0.2.17
8 years ago
0.2.16
8 years ago
0.2.15
8 years ago
0.2.14
8 years ago
0.2.13
8 years ago
0.2.12
8 years ago
0.2.11
8 years ago
0.2.10
8 years ago
0.2.9
8 years ago
0.2.8
8 years ago
0.2.7
8 years ago
0.2.6
8 years ago
0.2.5
8 years ago
0.2.4
8 years ago
0.2.3
8 years ago
0.2.0
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago