Skip to content

Commit

Permalink
fix: rooturl and dep clenaup
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya committed Oct 18, 2020
1 parent 60d83dd commit 7ab1fb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"lint": "eslint bin lib test",
"test-with-coverage": "nyc --reporter=text node test | tap-spec",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"build:site": "cd site && npm run build",
"build:site": "cd site && npm run build:prod",
"predeploy:docs": "npm run build:site",
"deploy:docs": "gh-pages -d site/dist",
"prepublish": "in-publish && npm run before:publish || not-in-publish",
Expand Down
1 change: 1 addition & 0 deletions site/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = function (environment) {

if (environment === 'production') {
// here you can enable a production-specific feature
ENV.rootURL = '/json2csv/';
}

return ENV;
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"scripts": {
"build": "ember build",
"build:prod": "ember build -prod",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"start": "ember serve",
Expand Down Expand Up @@ -45,7 +46,6 @@
"ember-qunit": "^4.6.0",
"ember-resolver": "^7.0.0",
"ember-source": "~3.15.0",
"ember-welcome-page": "^4.0.0",
"eslint-plugin-ember": "^7.7.1",
"eslint-plugin-node": "^10.0.0",
"loader.js": "^4.7.0",
Expand Down

0 comments on commit 7ab1fb5

Please sign in to comment.