Skip to content

Commit

Permalink
💥 Start splitting up platform package
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasrohmer committed Jan 16, 2019
1 parent 750c12c commit a278180
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
17 changes: 15 additions & 2 deletions platform/.gcloudignore → .gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,25 @@
# For more information, run:
# $ gcloud topic gcloudignore
#

.gcloudignore

# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
.github

node_modules/
yarn.lock
package-lock.json
LICENSE
MAINTENANCE.md
README.md
CONTRIBUTING.md

# Node.js dependencies:
node_modules/
# The complete frontend, pages and examples packages aren't needed on App Engine
frontend/
pages/
examples/
File renamed without changes.
14 changes: 7 additions & 7 deletions platform/package.json → package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"repository": "git@github.com:ampproject/docs.git",
"main": "serve.js",
"scripts": {
"develop": "node build.js",
"develop": "cd platform && node build.js",
"lint": "npm-run-all lint:*",
"lint:grow": "node lib/pipeline/growReferenceChecker.js",
"lint:grow": "cd platform && node lib/pipeline/growReferenceChecker.js",
"lint:node": "eslint \"**/*.js\" --ignore-path ../.gitignore",
"fix:node": "eslint \"**/*.js\" --fix --ignore-path ../.gitignore",
"build:playground": "cd ../playground && npm run build",
"build:local": "NODE_ENV=local node build.js",
"build:staging": "NODE_ENV=staging node build.js",
"build:playground": "cd playground && npm run build",
"build:local": "NODE_ENV=local cd platform && node build.js",
"build:staging": "NODE_ENV=staging cd platform && node build.js",
"deploy": "gcloud app deploy",
"start:local": "NODE_ENV=local node serve.js",
"start": "NODE_ENV=staging node serve.js"
"start:local": "NODE_ENV=local cd platform && node serve.js",
"start": "NODE_ENV=staging cd platform && node serve.js"
},
"keywords": [
"amphtml",
Expand Down

0 comments on commit a278180

Please sign in to comment.