Skip to content

Commit 6fbd526

Browse files
committed
Attempt to fix publishing
1 parent 392efc8 commit 6fbd526

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-react", "@babel/preset-env"]
3+
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-individual-character-input-boxes",
3-
"version": "1.1.0",
3+
"version": "1.1.3",
44
"description": "Simple single character input boxes.",
55
"main": "dist/ReactIndividualCharacterInputBoxes.js",
66
"source": "src/ReactIndividualCharacterInputBoxes.js",
@@ -12,9 +12,9 @@
1212
"clear-npm-data": "rm -rf node_modules package-lock.json",
1313
"dev": "npm run clear-build-cache && parcel demo/index.html",
1414
"lint": "eslint \"src/**/*.{js,jsx}\" --quiet",
15-
"prepublishOnly": "npm run clear-build-cache && parcel build",
15+
"prepublishOnly": "npm run clear-build-cache && babel ./src --out-dir dist --copy-files",
1616
"prod-demo": "parcel build demo/index.html",
17-
"publish": "npm run prepublishOnly && np"
17+
"release": "npm run prepublishOnly && np --no-tests"
1818
},
1919
"keywords": [
2020
"react",

0 commit comments

Comments
 (0)