Skip to content

Instantly share code, notes, and snippets.

@peterbe
Last active December 12, 2019 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/40f482fbb1b8b21a6dd3c8e3e3380b45 to your computer and use it in GitHub Desktop.
Save peterbe/40f482fbb1b8b21a6dd3c8e3e3380b45 to your computer and use it in GitHub Desktop.
"scripts": {
"postinstall": "cd stumptown && npm install && git checkout package-lock.json",
"prettier-check": "prettier --check **/*.{js,json,scss,html}",
"prettier-format": "prettier --write **/*.{js,json,scss,html}",
"test": "yarn prettier-check && yarn workspace ssr test && yarn workspace client test",
- "build:stumptown": "cd ${STUMPTOWN_CONTENT_ROOT:-stumptown} && npm run build-json",
+ "build:X": "cd ${X_CONTENT_ROOT:-stumptown} && yarn run build-json",
"build:client": "yarn workspace client build",
"build:ssr": "yarn workspace ssr build && node cli/index.js ssr --build-html",
- "build": "yarn run build:stumptown && yarn run build:client && yarn run build:ssr",
+ "build": "yarn run build:X && yarn run build:client && yarn run build:ssr",
"deployment-build": "cross-env CLI_BUILD_HTML=true yarn build",
"end-to-end-test": "node scripts/end-to-end-test.js",
"start": "nf start"
},
"scripts": {
"postinstall": "cd stumptown && npm install && git checkout package-lock.json",
"prettier-check": "prettier --check **/*.{js,json,scss,html}",
"prettier-format": "prettier --write **/*.{js,json,scss,html}",
"test": "yarn prettier-check && yarn workspace ssr test && yarn workspace client test",
"build:stumptown": "cd ${STUMPTOWN_CONTENT_ROOT:-stumptown} && npm run build-json",
+ "build:X": "cd ${X_CONTENT_ROOT:-stumptown} && yarn run build-json",
"build:client": "yarn workspace client build",
"build:ssr": "yarn workspace ssr build && node cli/index.js ssr --build-html",
- "build": "yarn run build:stumptown && yarn run build:client && yarn run build:ssr",
+ "build": "yarn run build:X && yarn run build:stumptown && yarn run build:client && yarn run build:ssr",
"deployment-build": "cross-env CLI_BUILD_HTML=true yarn build",
"end-to-end-test": "node scripts/end-to-end-test.js",
"start": "nf start"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment