Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit c9d944e

Browse files
committed
repare v4 release
1 parent af35459 commit c9d944e

File tree

7 files changed

+18
-77
lines changed

7 files changed

+18
-77
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.circleci/
2-
.swagger-codegen
32
.openapi-generator
43
.openapi-generator-ignore
54
git_push.sh

.openapi-generator-ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@
2323
#!docs/README.md
2424

2525
package.json
26-
webpack.config.js
2726
src/global.js

.swagger-codegen-ignore

Lines changed: 0 additions & 26 deletions
This file was deleted.

.swagger-codegen/VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
{
22
"name": "@bimdata/bimdata-api-client",
33
"version": "0.0.0",
4-
"description": "BIMData_API_documentation",
4+
"description": "BIMData API is a tool to interact with your models stored on BIMDatas servers. Through the API you can manage your projects the clouds upload your IFC files and manage them through endpoints",
55
"license": "MIT",
6-
"main": "src/index.js",
6+
"main": "dist/javascript-api-client.js",
77
"scripts": {
8-
"test": "./node_modules/mocha/bin/mocha --recursive",
9-
"build": "npm run browserify && npm run min",
8+
"babelify": "babel src -d dist",
9+
"browserify": "browserify dist/global.js -o dist/javascript-api-client.js",
1010
"min": "uglifyjs ./dist/javascript-api-client.js -c -m -o ./dist/javascript-api-client.min.js",
11-
"browserify": "browserify ./src/global.js > ./dist/javascript-api-client.js",
12-
"build:webpack": "webpack"
11+
"build": "npm run babelify && npm run browserify && npm run min",
12+
"test": "mocha --compilers js:babel-core/register --recursive"
1313
},
1414
"browser": {
1515
"fs": false
1616
},
1717
"dependencies": {
18-
"@babel/core": "^7.2.2",
19-
"babel-core": "^7.0.0-0",
20-
"babel-loader": "^8.0.5",
21-
"superagent": "^3.5.2",
22-
"uglify-js": "^3.4.3",
23-
"webpack": "^4.12.2"
18+
"babel-cli": "^6.26.0",
19+
"superagent": "3.7.0"
2420
},
2521
"devDependencies": {
26-
"browserify": "^16.2.2",
27-
"expect.js": "~0.3.1",
28-
"mocha": "~2.3.4",
29-
"sinon": "1.17.3",
30-
"webpack-cli": "^3.0.8"
22+
"babel-core": "6.26.0",
23+
"babel-preset-env": "^1.6.1",
24+
"babel-preset-stage-0": "^6.24.1",
25+
"browserify": "^16.2.3",
26+
"expect.js": "^0.3.1",
27+
"mocha": "^5.2.0",
28+
"sinon": "^7.2.0",
29+
"uglify-js": "^3.6.0"
3130
}
3231
}

src/global.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
var bimdata = require('./index')
2-
3-
window['bimdata'] = bimdata;
1+
// Only used as CDN
2+
window['bimdata'] = require('./index');

webpack.config.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)