Skip to content

Commit b59c00d

Browse files
authored
Merge pull request #56 from atom-community/rollup
2 parents 7272089 + e4df9fe commit b59c00d

File tree

3 files changed

+2165
-6567
lines changed

3 files changed

+2165
-6567
lines changed

package.json

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"native:prebuild": "prebuildify --napi -t 12.0.0 -t [email protected] -t [email protected] --strip",
1616
"native:prebuild-ia32": "prebuildify --napi --arch=ia32 -t 12.0.0 -t [email protected] -t [email protected] --strip",
1717
"js:clean": "shx rm -rf dist .parcel-cache",
18-
"js:dev": "cross-env NODE_ENV=development parcel watch --target main src/binding/node.js",
19-
"js:build": "cross-env NODE_ENV=production parcel build --target main src/binding/node.js",
18+
"js:dev": "cross-env NODE_ENV=development rollup -c -w",
19+
"js:build": "cross-env NODE_ENV=production rollup -c",
2020
"clean": "npm run native:clean && npm run js:clean",
2121
"install": "node-gyp-build",
2222
"build": "npm run native:build && npm run js:build",
@@ -38,17 +38,6 @@
3838
"binding.gyp"
3939
],
4040
"gypfile": true,
41-
"targets": {
42-
"main": {
43-
"context": "node",
44-
"engines": {
45-
"node": ">=6.x"
46-
},
47-
"includeNodeModules": true,
48-
"outputFormat": "commonjs",
49-
"isLibrary": true
50-
}
51-
},
5241
"dependencies": {
5342
"bindings": "~1.5.0",
5443
"node-addon-api": "~3.1.0",
@@ -62,10 +51,11 @@
6251
"growl": ">=1.10.5",
6352
"jasmine-node": "^3.0.0",
6453
"npm-check-updates": "10.2.5",
65-
"parcel": "2.0.0-nightly.500",
6654
"prebuildify": "^4.1.1",
67-
"shx": "^0.3.3",
68-
"prettier": "^2.2.1"
55+
"prettier": "^2.2.1",
56+
"rollup": "^2.36.0",
57+
"rollup-plugin-atomic": "^1.6.5",
58+
"shx": "^0.3.3"
6959
},
7060
"repository": {
7161
"type": "git",

0 commit comments

Comments
 (0)