]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
feat: expose es files
authorBenjy Cui <benjytrys@gmail.com>
Fri, 26 May 2017 02:53:26 +0000 (10:53 +0800)
committerBenjy Cui <benjytrys@gmail.com>
Fri, 26 May 2017 02:53:26 +0000 (10:53 +0800)
.gitignore
package.json

index 3de050dcafab32e6d322dae6afb7a9b85b6d3a7b..2ad822ee30c00d5cadfcc1ab14a999180acdcc78 100644 (file)
@@ -24,4 +24,5 @@ dist
 *.css
 build
 lib
+es
 coverage
\ No newline at end of file
index d219fab595c233614444254a21a6d29401c4b7e8..3e9f9443f387a55f8d4f524d9b950565e953935d 100644 (file)
   ],
   "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": {
     "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"