From: Benjy Cui Date: Fri, 26 May 2017 02:53:26 +0000 (+0800) Subject: feat: expose es files X-Git-Tag: 2.4.1~1^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=55d35811de5aefe2b04f83df57e83db614933d2b;p=github%2Ffretlink%2Ftime-picker.git feat: expose es files --- diff --git a/.gitignore b/.gitignore index 3de050d..2ad822e 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,5 @@ dist *.css build lib +es coverage \ No newline at end of file diff --git a/package.json b/package.json index d219fab..3e9f944 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,11 @@ ], "files": [ "lib", + "es", "assets/*.css" ], "main": "lib/index", + "module": "es/index", "homepage": "http://github.com/react-component/time-picker", "author": "wuzhao.mail@gmail.com", "repository": { @@ -34,13 +36,14 @@ "build": "rc-tools run build", "gh-pages": "rc-tools run gh-pages", "start": "rc-tools run server", + "compile": "rc-tools run compile --babel-runtime", "pub": "rc-tools run pub --babel-runtime", "lint": "rc-tools run lint", - "karma": "rc-tools run karma", - "saucelabs": "rc-tools run saucelabs", - "test": "rc-tools run test", - "chrome-test": "rc-tools run chrome-test", - "coverage": "rc-tools run coverage" + "karma": "rc-test run karma", + "saucelabs": "rc-test run saucelabs", + "test": "rc-test run test", + "chrome-test": "rc-test run chrome-test", + "coverage": "rc-test run coverage" }, "devDependencies": { "async": "~0.9.0", @@ -48,7 +51,8 @@ "expect.js": "~0.3.1", "jquery": "1.x", "pre-commit": "1.x", - "rc-tools": "5.x", + "rc-test": "^6.0.1", + "rc-tools": "6.x", "rc-util": "^4.0.2", "react": "15.x", "react-dom": "15.x"