react改为development npm发包忽略 demo,docs,test,dist目录

This commit is contained in:
liushaozhen 2020-03-30 11:24:00 +08:00
parent 80e92a7871
commit acfc791e3e
2 changed files with 8 additions and 5 deletions

View File

@ -26,3 +26,8 @@ sea-modules
spm_modules
.cache
coverage
demo
docs
test
dist
.npmignore

View File

@ -4,10 +4,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>neoui-react-button</title>
<link rel="stylesheet" href="./demo/atom-one-dark.css">
<link rel="stylesheet" href="./dist/demo.css">
<link href="//design.yonyoucloud.com/static/tinper-bee/latest/assets/tinper-bee.css" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="./dist/demo.css">
</head>
<body style="background: #eceff1">
<div id="tinperBeeDemo"></div>
@ -18,8 +16,8 @@
<script src="//design.yonyoucloud.com/static/console-polyfill/console-polyfill.js"></script>
<script src="//design.yonyoucloud.com/static/es5-shim/es5-shim.min.js"></script>
<script src="//design.yonyoucloud.com/static/es5-shim/es5-sham.min.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.8.4/umd/react.production.min.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.8.4/umd/react-dom.production.min.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.8.4/umd/react.development.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.8.4/umd/react-dom.development.js"></script>
<script src="//design.yonyoucloud.com/static/prop-types/15.6.0/prop-types.min.js"></script>
<script src="./dist/demo.js"></script>
</body>