Skip to content

Commit 2da0e48

Browse files
author
Rising Odegua
committed
Merge branch 'fix/bundle-file-for-tests' of https://github.com/ekynoxe/danfojs into ekynoxe-fix/bundle-file-for-tests
2 parents 9685a63 + b26112a commit 2da0e48

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@
88
],
99
"scripts": {
1010
"install": "cd src/danfojs-base && yarn && cd ../danfojs-browser && yarn && cd ../danfojs-node && yarn",
11-
"build": "cd src/danfojs-node && yarn build:clean && cd ../danfojs-browser && yarn build:clean",
12-
"test": "cd src/danfojs-base && yarn && cd ../danfojs-node && yarn && yarn test:clean && cd ../danfojs-browser && yarn && yarn test:clean"
11+
"build": "yarn build:browser && yarn build:node",
12+
"build:browser": "cd src/danfojs-browser && yarn build:clean",
13+
"build:node": "cd src/danfojs-node && yarn build:clean",
14+
"pretest": "cd src/danfojs-base && yarn",
15+
"test": "yarn test:browser && yarn test:node",
16+
"pretest:browser": "yarn pretest",
17+
"test:browser": "cd src/danfojs-browser && yarn && yarn test:clean",
18+
"pretest:node": "yarn pretest",
19+
"test:node": "cd src/danfojs-node && yarn && yarn test:clean"
1320
}
1421
}

src/danfojs-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.",
55
"main": "dist/danfojs-browser/src/index.js",
66
"types": "dist/danfojs-browser/src/index.d.ts",
7-
"module": "lib/bundle-esm.js",
7+
"module": "lib/bundle.js",
88
"directories": {
99
"test": "tests"
1010
},

src/danfojs-browser/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const createConfig = () => {
1212
target: "web",
1313
output: {
1414
path: path.resolve(__dirname, "lib"),
15-
filename: "bundle-esm.js",
15+
filename: "bundle.js",
1616
library: "dfd"
1717
},
1818
module: {

0 commit comments

Comments
 (0)