Update setup script (#137)

Handles changes in @google/clasp@2.4.1 affecting rooDir flag
This commit is contained in:
Elisha Nuchi
2022-08-12 23:19:12 -04:00
committed by GitHub
parent f16d7d3a66
commit a323926739
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
"test:integration": "jest --forceExit test/local-development.test",
"test:integration:extended": "cross-env IS_EXTENDED=true jest --forceExit test/local-development.test",
"login": "clasp login",
"setup": "rimraf .clasp.json && clasp create --type sheets --title \"My React Project\" --rootDir ./dist",
"setup": "rimraf .clasp.json && mkdirp dist && clasp create --type sheets --title \"My React Project\" --rootDir ./dist && mv ./dist/.clasp.json ./.clasp.json && rimraf dist",
"open": "clasp open --addon",
"setup:https": "mkdirp certs && mkcert -key-file ./certs/key.pem -cert-file ./certs/cert.pem localhost 127.0.0.1",
"build:dev": "cross-env NODE_ENV=development webpack",