Skip to content

Commit

Permalink
Rename package for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhn committed Oct 21, 2020
1 parent 9fe01dd commit 9524122
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions build.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
const { writeFile } = require('fs').promises
const js = require('rosid-handler-js')

const pgk = require('./package.json')

js('src/index.js', {

optimize: true,
browserify: {
standalone: pgk.name
standalone: 'feedback-js'
}

}).then((data) => {

return writeFile(`dist/${ pgk.name }.min.js`, data)
return writeFile(`dist/feedback-js.min.js`, data)

})
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "feedback-js",
"name": "@betahuhn/feedback-js",
"version": "0.2.0",
"description": "",
"main": "dist/feedback-js.min.js",
Expand Down

0 comments on commit 9524122

Please sign in to comment.