Skip to content

Commit

Permalink
fix: move postinstall script (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan authored Mar 22, 2019
1 parent e14b433 commit cf30b83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit cf30b83

Please sign in to comment.