Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaneenige committed May 21, 2019
1 parent b5d318a commit de6f28a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -3,3 +3,5 @@ node_modules
.DS_Store
package-lock.json
.rts*
three.min.js
uot.umd.js
4 changes: 2 additions & 2 deletions demo/index.html
Expand Up @@ -6,8 +6,8 @@
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<script src="https://unpkg.com/three@0.104.0/build/three.min.js"></script>
<script src="https://unpkg.com/uot@1.3.0/dist/uot.umd.js"></script>
<script src="./three.min.js"></script>
<script src="./uot.umd.js"></script>
<script src="./dist/bundle.umd.js"></script>
</body>
</html>
8 changes: 6 additions & 2 deletions package.json
Expand Up @@ -7,7 +7,10 @@
"unpkg": "dist/three.phenomenon.umd.js",
"types": "dist/index.d.ts",
"scripts": {
"start": "http-server demo --silent & $npm_execpath run watch",
"start": "npm run copy && http-server demo --silent & $npm_execpath run watch",
"copy": "npm run copy:three && npm run copy:uot",
"copy:three": "cp node_modules/three/build/three.min.js demo/three.min.js",
"copy:uot": "cp node_modules/uot/dist/uot.umd.js demo/uot.umd.js",
"watch": "microbundle watch --format umd --entry demo/src/index.js --output demo/dist/bundle.js",
"build": "rm -rf dist && microbundle --name Phenomenon --format es,umd --sourcemap false",
"prepare": "$npm_execpath run build"
Expand Down Expand Up @@ -40,6 +43,7 @@
"microbundle": "^0.11.0"
},
"dependencies": {
"three": "^0.104.0"
"three": "^0.104.0",
"uot": "^1.3.0"
}
}

0 comments on commit de6f28a

Please sign in to comment.