add Bootstrap working example

• re-organize file structure with one directory per dialog
• add index.html file per dialog
• add bootstrap styling and dynamic cdn loading
• clean up react code and stylesheet

npm setup script update

adds force flag
"setup": "rm -f .clasp.json ..."

Update README.md

Move clasp to devDependencies

update dynamic cdn urls

Add repository field
This commit is contained in:
Elisha Nuchi
2020-06-29 02:08:18 -04:00
parent f4351f1a49
commit f2a259ce66
32 changed files with 845 additions and 399 deletions
+7 -2
View File
@@ -2,10 +2,14 @@
"name": "react-google-apps-script",
"version": "1.0.0",
"description": "Starter project for using React with Google Apps Script",
"repository": {
"type": "git",
"url": "https://github.com/enuchi/React-Google-Apps-Script.git"
},
"scripts": {
"test": "test",
"login": "clasp login",
"setup": "rm .clasp.json && clasp create --type sheets --title 'My React Project' --rootDir ./dist",
"setup": "rm -f .clasp.json && clasp create --type sheets --title 'My React Project' --rootDir ./dist",
"setup:use-id": "clasp setting scriptId",
"build": "webpack --mode production",
"deploy": "npm run build && npx clasp push"
@@ -26,8 +30,9 @@
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.13.0",
"react-bootstrap": "^1.0.1",
"react-dom": "^16.13.0",
"react-transition-group": "^1.2.1"
"react-transition-group": "^4.4.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",