Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move postinstall script #1343

Merged
merged 2 commits into from
Mar 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

[build]
publish = "docs/_site"
command = "npm run postinstall && npm run build-doc"
command = "npm run build-doc"

# Production context: All deploys to the main
# repository branch will inherit these settings.
[context.production]
command = "npm run postinstall && npm run build-doc"
command = "npm run build-doc"
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"description": "Fiori Fundamentals is a Design System and HTML/CSS Component Library used to build modern Product User Experiences with the SAP look and feel. Learn more about this project at - http://sap.github.io/fundamental/",
"main": "index.js",
"scripts": {
"build-doc": "npm run postinstall && gulp docs-site && cd docs && bundle install && bundle exec jekyll build --config _config.yml,_config-library.yml && cd ..",
"build-doc": "npm run build:config && gulp docs-site && cd docs && bundle install && bundle exec jekyll build --config _config.yml,_config-library.yml && cd ..",
"build": "npx gulp build:dist",
"build:config": "./scripts/create-library-config.js",
"deploy": "gh-pages -d docs",
"lint:fix": "stylelint './scss/**/*.scss' --fix",
"lint:pre-commit": "printf \"running pre-commit lint...\" && npm run lint && printf \"done!\n\"",
"lint": "stylelint './scss/**/*.scss'",
"postinstall": "./scripts/create-library-config.js",
"release:create": "create-release",
"release": "./scripts/publish-release.sh",
"start": "npx gulp default",
"start": "npm run build:config && npx gulp default",
"std-version": "standard-version -m \"chore(release): version %s build ${TRAVIS_BUILD_NUMBER} [ci skip]\"",
"test": "node test/app.js"
},
Expand Down