Skip to content
Snippets Groups Projects
Commit 66f90a75 authored by Robert Long's avatar Robert Long
Browse files

Add now deployment.

parent 8a6130cc
No related branches found
No related tags found
No related merge requests found
...@@ -6,9 +6,12 @@ ...@@ -6,9 +6,12 @@
"scripts": { "scripts": {
"dev": "webpack-dev-server --open --config webpack.dev.js", "dev": "webpack-dev-server --open --config webpack.dev.js",
"build": "webpack --config webpack.prod.js", "build": "webpack --config webpack.prod.js",
"prettier": "prettier --write src/**/*.js" "prettier": "prettier --write src/**/*.js",
"deploy": "npm run build && now deploy --static ./public/"
}, },
"pre-commit": ["prettier"], "pre-commit": [
"prettier"
],
"dependencies": { "dependencies": {
"aframe-input-mapping-component": "https://github.com/fernandojsg/aframe-input-mapping-component", "aframe-input-mapping-component": "https://github.com/fernandojsg/aframe-input-mapping-component",
"aframe-teleport-controls": "https://github.com/netpro2k/aframe-teleport-controls#feature/teleport-origin", "aframe-teleport-controls": "https://github.com/netpro2k/aframe-teleport-controls#feature/teleport-origin",
...@@ -23,6 +26,7 @@ ...@@ -23,6 +26,7 @@
"babel-preset-env": "^1.6.1", "babel-preset-env": "^1.6.1",
"eslint-config-prettier": "^2.6.0", "eslint-config-prettier": "^2.6.0",
"eslint-plugin-prettier": "^2.3.1", "eslint-plugin-prettier": "^2.3.1",
"now": "^8.3.11",
"pre-commit": "^1.2.2", "pre-commit": "^1.2.2",
"prettier": "^1.7.0", "prettier": "^1.7.0",
"webpack": "^3.6.0", "webpack": "^3.6.0",
......
...@@ -2823,6 +2823,10 @@ normalize-path@^2.0.0, normalize-path@^2.0.1: ...@@ -2823,6 +2823,10 @@ normalize-path@^2.0.0, normalize-path@^2.0.1:
dependencies: dependencies:
remove-trailing-separator "^1.0.1" remove-trailing-separator "^1.0.1"
now@^8.3.11:
version "8.3.11"
resolved "https://registry.yarnpkg.com/now/-/now-8.3.11.tgz#bca2043bc4485b1b24ea656d652e448ae27fe0bb"
npm-run-path@^2.0.0: npm-run-path@^2.0.0:
version "2.0.2" version "2.0.2"
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment