- move source file from
lib
to src
- move
index.js
to src/index.js
, and add a new index.js
to require src/index.js
- remove all
/** @jsx React.DOM */
from source file
- upgrade
rc-tools
rc-server
to 3.x
- add
scripts
to package.json
{
"build": "rc-tools run build",
"precommit": "rc-tools run precommit",
"less": "rc-tools run less",
"gh-pages": "rc-tools run gh-pages",
"start": "node --harmony node_modules/.bin/rc-server",
"publish": "rc-tools run tag",
"lint": "rc-tools run lint",
"saucelabs": "node --harmony node_modules/.bin/rc-tools run saucelabs",
"browser-test": "node --harmony node_modules/.bin/rc-tools run browser-test",
"browser-test-cover": "node --harmony node_modules/.bin/rc-tools run browser-test-cover"
}
- change
precommit
key in package.json
"precommit": [
"precommit"
]
- remove
browserify
and spm
keys in package.json