0.4.5 • Published 9 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
9 years ago
0.4.4
9 years ago
0.4.3
9 years ago
0.4.2
9 years ago
0.4.1
9 years ago
0.4.0
9 years ago
0.3.0
9 years ago
0.2.17
9 years ago
0.2.16
9 years ago
0.2.15
10 years ago
0.2.14
10 years ago
0.2.13
10 years ago
0.2.12
10 years ago
0.2.11
10 years ago
0.2.10
10 years ago
0.2.9
10 years ago
0.2.8
10 years ago
0.2.7
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.0
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago