|
1 | 1 | { |
2 | 2 | "name": "@bimdata/bimdata-api-client", |
3 | 3 | "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", |
5 | 5 | "license": "MIT", |
6 | | - "main": "src/index.js", |
| 6 | + "main": "dist/javascript-api-client.js", |
7 | 7 | "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", |
10 | 10 | "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" |
13 | 13 | }, |
14 | 14 | "browser": { |
15 | 15 | "fs": false |
16 | 16 | }, |
17 | 17 | "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" |
24 | 20 | }, |
25 | 21 | "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" |
31 | 30 | } |
32 | 31 | } |
0 commit comments