fix previous with netlify (#46)
* fix previous with netlify Signed-off-by:Christopher Guindon <chris.guindon@eclipse-foundation.org> * add main site Signed-off-by:
Christopher Guindon <chris.guindon@eclipse-foundation.org>
... | ... | @@ -13,10 +13,11 @@ |
}, | ||
"scripts": { | ||
"build": "npm run production && npm run minify_adopters && rm -rf src/main/resources/META-INF/resources/* && hugo -d src/main/resources/META-INF/resources/", | ||
"build_netlify": "npm run production", | ||
"build_netlify": "npm run production && npm run disallow_robots_txt", | ||
"minify_adopters": "mkdir -p target/config && ./node_modules/json-minify/index.js config/adopters.json > target/config/adopters.json", | ||
"dev": "NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | ||
"production": "NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" | ||
"production": "NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | ||
"disallow_robots_txt": "echo \"User-agent: *\r\nDisallow: /\" > layouts/robots.txt" | ||
}, | ||
"dependencies": { | ||
"chai": "^4.2.0", | ||
... | ... |
Please register or sign in to comment