Skip to content

Commit

Permalink
Merge pull request #81 from localnerve/rc-0.12.1
Browse files Browse the repository at this point in the history
@0.12.1 - fix package
  • Loading branch information
localnerve committed Nov 28, 2022
2 parents beef2ae + 9d083c6 commit 072233d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -24,6 +24,7 @@ node_modules
# Project specific
.nyc_output/
/coverage
/dist
/output
/package
/index.js
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
@@ -1,7 +1,7 @@
.git*
coverage
output
src
src/tests
tmp
.jshint*
.travis.yml
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

14 changes: 7 additions & 7 deletions package.json
@@ -1,20 +1,20 @@
{
"name": "element-size-reporter",
"version": "0.12.0",
"version": "0.12.1",
"description": "Reports width, height, and top for selected DOM elements",
"main": "index.js",
"main": "dist/index.js",
"exports": {
"require": "./index.js",
"import": "./index.mjs",
"default": "./index.js"
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"scripts": {
"test": "mocha src/tests/unit --recursive --reporter spec --require @babel/register",
"test:debug": "rimraf output/ && babel ./src -d output -s inline && mocha output/tests/unit --recursive --reporter spec --inspect-brk",
"test:cover": "c8 -- npm test",
"build": "npm test && babel src/lib/index.js -o index.js",
"build": "rimraf ./dist && babel src/lib/index.js -o ./dist/index.js && node -e 'require(\"fs\").copyFileSync(\"src/lib/index.js\",\"./dist/index.mjs\");'",
"lint": "eslint .",
"prepublishOnly": "npm run build && node -e 'require(\"fs\").copyFileSync(\"src/lib/index.js\",\"index.mjs\");'",
"prepublishOnly": "npm run build",
"validate": "npm ls"
},
"repository": {
Expand Down

0 comments on commit 072233d

Please sign in to comment.