aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBenjy Cui <benjytrys@gmail.com>2017-05-26 10:53:26 +0800
committerBenjy Cui <benjytrys@gmail.com>2017-05-26 10:53:26 +0800
commit55d35811de5aefe2b04f83df57e83db614933d2b (patch)
tree744aae943a5736a76a9c79020f085a948aa88ac3
parenta7c6e7bbdec19873df69addb101a93eef87d8153 (diff)
downloadtime-picker-55d35811de5aefe2b04f83df57e83db614933d2b.tar.gz
time-picker-55d35811de5aefe2b04f83df57e83db614933d2b.tar.zst
time-picker-55d35811de5aefe2b04f83df57e83db614933d2b.zip
feat: expose es files
-rw-r--r--.gitignore1
-rw-r--r--package.json16
2 files changed, 11 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 3de050d..2ad822e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,4 +24,5 @@ dist
24*.css 24*.css
25build 25build
26lib 26lib
27es
27coverage \ No newline at end of file 28coverage \ 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 @@
14 ], 14 ],
15 "files": [ 15 "files": [
16 "lib", 16 "lib",
17 "es",
17 "assets/*.css" 18 "assets/*.css"
18 ], 19 ],
19 "main": "lib/index", 20 "main": "lib/index",
21 "module": "es/index",
20 "homepage": "http://github.com/react-component/time-picker", 22 "homepage": "http://github.com/react-component/time-picker",
21 "author": "wuzhao.mail@gmail.com", 23 "author": "wuzhao.mail@gmail.com",
22 "repository": { 24 "repository": {
@@ -34,13 +36,14 @@
34 "build": "rc-tools run build", 36 "build": "rc-tools run build",
35 "gh-pages": "rc-tools run gh-pages", 37 "gh-pages": "rc-tools run gh-pages",
36 "start": "rc-tools run server", 38 "start": "rc-tools run server",
39 "compile": "rc-tools run compile --babel-runtime",
37 "pub": "rc-tools run pub --babel-runtime", 40 "pub": "rc-tools run pub --babel-runtime",
38 "lint": "rc-tools run lint", 41 "lint": "rc-tools run lint",
39 "karma": "rc-tools run karma", 42 "karma": "rc-test run karma",
40 "saucelabs": "rc-tools run saucelabs", 43 "saucelabs": "rc-test run saucelabs",
41 "test": "rc-tools run test", 44 "test": "rc-test run test",
42 "chrome-test": "rc-tools run chrome-test", 45 "chrome-test": "rc-test run chrome-test",
43 "coverage": "rc-tools run coverage" 46 "coverage": "rc-test run coverage"
44 }, 47 },
45 "devDependencies": { 48 "devDependencies": {
46 "async": "~0.9.0", 49 "async": "~0.9.0",
@@ -48,7 +51,8 @@
48 "expect.js": "~0.3.1", 51 "expect.js": "~0.3.1",
49 "jquery": "1.x", 52 "jquery": "1.x",
50 "pre-commit": "1.x", 53 "pre-commit": "1.x",
51 "rc-tools": "5.x", 54 "rc-test": "^6.0.1",
55 "rc-tools": "6.x",
52 "rc-util": "^4.0.2", 56 "rc-util": "^4.0.2",
53 "react": "15.x", 57 "react": "15.x",
54 "react-dom": "15.x" 58 "react-dom": "15.x"