Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit a483911

Browse files
committed
Add postinstall script
1 parent b5e15ca commit a483911

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ install:
3333
- php artisan migrate --force
3434
- php artisan passport:install
3535
- yarn install --check-files
36-
- yarn run prod
3736

3837
before_script:
3938
- export DISPLAY=:99.0

circle.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ dependencies:
2424
override:
2525
- composer install --no-interaction
2626
- yarn install --check-files --force
27-
- yarn run prod
2827

2928
test:
3029
pre:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
99
"prod": "npm run production",
1010
"production": "cp resources/assets/js/vue-strap/utils.js node_modules/vue-strap/src/utils/utils.js && cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
11-
"convert": "babel --presets es2015 node_modules/vue-strap/src/utils/utils.js > resources/assets/js/vue-strap/utils.js"
11+
"convert": "babel --presets es2015 node_modules/vue-strap/src/utils/utils.js > resources/assets/js/vue-strap/utils.js",
12+
"postinstall": "yarn run prod"
1213
},
1314
"devDependencies": {
1415
"axios": "^0.16.0",

0 commit comments

Comments
 (0)