Skip to content

Commit d624352

Browse files
BuptStEveevinma
authored andcommitted
chore: only publish src/ and dist/, .babelrc -> babel.config.js
1 parent a3ea082 commit d624352

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.babelrc

-8
This file was deleted.

babel.config.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
presets: [
3+
[
4+
'@babel/preset-env',
5+
{ 'modules': false },
6+
],
7+
],
8+
}

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tua-body-scroll-lock",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "🔐Body scroll locking that just works with everything",
55
"main": "dist/tua-bsl.umd.js",
66
"module": "dist/tua-bsl.esm.js",
@@ -17,6 +17,10 @@
1717
"pub:n": "npm run build && npm publish --tag next",
1818
"deploy": "npm run build && gh-pages -d dist"
1919
},
20+
"files": [
21+
"src/",
22+
"dist/"
23+
],
2024
"eslintIgnore": [
2125
"dist/"
2226
],

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"baseUrl": ".",
55
"experimentalDecorators": true,
66
"paths":{
7-
"@/*": ["src/*"],
7+
"@/*": ["src/*"]
88
}
99
},
1010
"exclude": ["node_modules"]

0 commit comments

Comments
 (0)