diff --git a/example/app.js b/example/app.js index 88a1baa..58f5086 100644 --- a/example/app.js +++ b/example/app.js @@ -7,7 +7,7 @@ const ReactQiniuExample = React.createClass({ getInitialState () { return { files: [], - token: '6qF2ejYiRzXlPoPO3eKwaWE3juLDyX5QgE1PEMJ-:3Ji3PPOaUYfs30-OFz7coPEL2Ws=:eyJzY29wZSI6ImVuYWdlLWNlc2hpIiwiZGVhZGxpbmUiOjE3NTczOTA0NTB9' + token: 'YOUR_QINIU_TOKEN' }; }, diff --git a/example/package.json b/example/package.json index 3d32eca..ed28e79 100644 --- a/example/package.json +++ b/example/package.json @@ -12,7 +12,7 @@ ] }, "scripts": { - "prepublish": "cd .. && npm install react && cd - && browserify app.js > script.js" + "prepublish": "cd .. && npm install react && cd - && browserify --debug app.js > script.js" }, "devDependencies": { "babelify": "^6.1.2",