Skip to content

Commit ece67af

Browse files
committed
Prepare for publish
1 parent 36d680f commit ece67af

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

package.json

+4-8
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
"url": "https://magicjar.github.io"
88
},
99
"license": "MIT",
10-
"main": "dist/nusantara-valid.js",
11-
"directories": {
12-
"doc": "docs"
13-
},
10+
"main": "dist/umd/nusantara-valid.js",
1411
"keywords": [
1512
"validator",
1613
"javascript",
@@ -29,14 +26,14 @@
2926
],
3027
"repository": {
3128
"type": "git",
32-
"url": "git+https://github.com/magicjar/nusantara-valid.git"
29+
"url": "https://github.com/magicjar/nusantara-valid.git"
3330
},
3431
"bugs": {
3532
"url": "https://github.com/magicjar/nusantara-valid/issues"
3633
},
3734
"files": [
3835
"dist/",
39-
"src/{ts,js}/"
36+
"src/ts/"
4037
],
4138
"scripts": {
4239
"clean": "shx rm -rf dist",
@@ -60,6 +57,5 @@
6057
"ts-node": "^8.10.2",
6158
"tslib": "^2.0.0",
6259
"typescript": "^3.9.5"
63-
},
64-
"dependencies": {}
60+
}
6561
}

rollup.config.js

-9
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ export default {
1717
file: 'dist/umd/nusantara-valid.js',
1818
format: 'umd',
1919
name: 'NusantaraValid'
20-
}, {
21-
file: 'dist/js/nusantara-valid.js',
22-
format: 'iife',
23-
name: 'NusantaraValid'
2420
}, {
2521
file: 'dist/cjs/nusantara-valid.min.js',
2622
format: 'cjs',
@@ -36,11 +32,6 @@ export default {
3632
format: 'umd',
3733
name: 'NusantaraValid',
3834
plugins: [terser()]
39-
}, {
40-
file: 'dist/js/nusantara-valid.min.js',
41-
format: 'iife',
42-
name: 'NusantaraValid',
43-
plugins: [terser()]
4435
}
4536
],
4637
plugins: [

0 commit comments

Comments
 (0)