bimplus-websdk 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/install CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/env bash
2
-
3
- yarn install
1
+ #!/usr/bin/env bash
2
+
3
+ yarn install
package/jsinspect CHANGED
@@ -1,20 +1,20 @@
1
- #!/usr/bin/env bash
2
-
3
- #install jsinspect
4
- npm list -g --quiet jsinspect > "/dev/null" 2>&1
5
- OUT=$?
6
- if [ ${OUT} != 0 ]
7
- then
8
- npm install -g jsinspect
9
- RET_VAL=$?
10
- if [ ${RET_VAL} -ne 0 ]
11
- then
12
- echo "Error ---> Unable to install \"jsinspect\""
13
- exit ${RET_VAL}
14
- fi
15
- echo "Info ---> \"jsinspect\" has been installed."
16
- else
17
- echo "Info ---> \"jsinspect\" already installed."
18
- fi
19
-
20
- jsinspect ./src
1
+ #!/usr/bin/env bash
2
+
3
+ #install jsinspect
4
+ npm list -g --quiet jsinspect > "/dev/null" 2>&1
5
+ OUT=$?
6
+ if [ ${OUT} != 0 ]
7
+ then
8
+ npm install -g jsinspect
9
+ RET_VAL=$?
10
+ if [ ${RET_VAL} -ne 0 ]
11
+ then
12
+ echo "Error ---> Unable to install \"jsinspect\""
13
+ exit ${RET_VAL}
14
+ fi
15
+ echo "Info ---> \"jsinspect\" has been installed."
16
+ else
17
+ echo "Info ---> \"jsinspect\" already installed."
18
+ fi
19
+
20
+ jsinspect ./src
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "bimplus-websdk",
3
- "version": "1.0.0",
4
- "description": "bim+ websdk",
5
- "main": "dist/bimplus-websdk.js",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "."
10
- },
11
- "scripts": {
12
- "eslint": "eslint src/**/*.js test/**/*.js",
13
- "build": "npm run eslint && webpack --config webpack.dev.js",
14
- "build-prod": "npm run eslint && webpack --config webpack.prod.js",
15
- "yarn-publish": "npm run build-prod && yarn publish",
16
- "yarn-publish-branch": "npm run build-prod && yarn publish --tag",
17
- "npm-pack": "npm run build-prod && npm pack",
18
- "install-documentation-package": "npm install -g documentation",
19
- "lint-doc": "documentation lint ./src/Api/*.js",
20
- "build-doc": "yarn lint-doc && documentation build ./src/Api/*.js --config doc_config.yml -f html -o ./documentation",
21
- "build-docMd": "yarn lint-doc && documentation build ./src/Api/*.js -f md -o ./documentation/Bimplus_WebSDK_doc.md",
22
- "build-docConf": "yarn build-docMd && cd ./documentation && python convert_to_confluence_md.py",
23
- "build-docAll": "yarn build-doc && yarn build-docConf",
24
- "test": "node node_modules/karma/bin/karma start",
25
- "test-chrome": "npm run test -- --single-run=true --browsers Chrome karma.conf.js",
26
- "test-chrome-headless": "npm run test -- --single-run=true --browsers ChromeHeadless karma.conf.js",
27
- "test-firefox": "npm run test -- --single-run=true --browsers Firefox karma.conf.js",
28
- "test-firefox-headless": "npm run test -- --single-run=true --browsers FirefoxHeadless karma.conf.js",
29
- "test-watch": "npm run test -- --browsers=Chrome --single-run=false --auto-watch"
30
- },
31
- "devDependencies": {
32
- "@babel/core": "^7.24.4",
33
- "@babel/plugin-transform-runtime": "^7.24.3",
34
- "@babel/preset-env": "^7.24.4",
35
- "@babel/runtime": "^7.24.4",
36
- "babel-loader": "^9.1.3",
37
- "clean-webpack-plugin": "^4.0.0",
38
- "coverage-istanbul-loader": "^3.0.5",
39
- "documentation": "^14.0.3",
40
- "eslint": "^8.57.0",
41
- "host-environment": "^2.1.2",
42
- "karma": "^6.4.3",
43
- "karma-chrome-launcher": "^3.2.0",
44
- "karma-coverage-istanbul-reporter": "^3.0.2",
45
- "karma-firefox-launcher": "^2.1.3",
46
- "karma-host-environment": "^3.0.3",
47
- "karma-jquery": "^0.2.4",
48
- "karma-qunit": "^4.2.0",
49
- "karma-webpack": "^5.0.0",
50
- "qunit": "^2.20.1",
51
- "terser-webpack-plugin": "^5.3.10",
52
- "webpack": "^5.91.0",
53
- "webpack-cli": "^5.1.4",
54
- "webpack-merge": "^5.10.0"
55
- },
56
- "dependencies": {
57
- "async": "^3.2.5",
58
- "dexie": "3.2.7",
59
- "jquery": "3.7.1"
60
- }
61
- }
1
+ {
2
+ "name": "bimplus-websdk",
3
+ "version": "1.0.2",
4
+ "description": "bim+ websdk",
5
+ "main": "dist/bimplus-websdk.js",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "."
10
+ },
11
+ "scripts": {
12
+ "eslint": "eslint src/**/*.js test/**/*.js",
13
+ "build": "npm run eslint && webpack --config webpack.dev.js",
14
+ "build-prod": "npm run eslint && webpack --config webpack.prod.js",
15
+ "yarn-publish": "npm run build-prod && yarn publish",
16
+ "yarn-publish-branch": "npm run build-prod && yarn publish --tag",
17
+ "npm-pack": "npm run build-prod && npm pack",
18
+ "install-documentation-package": "npm install -g documentation",
19
+ "lint-doc": "documentation lint ./src/Api/*.js",
20
+ "build-doc": "yarn lint-doc && documentation build ./src/Api/*.js --config doc_config.yml -f html -o ./documentation",
21
+ "build-docMd": "yarn lint-doc && documentation build ./src/Api/*.js -f md -o ./documentation/Bimplus_WebSDK_doc.md",
22
+ "build-docConf": "yarn build-docMd && cd ./documentation && python convert_to_confluence_md.py",
23
+ "build-docAll": "yarn build-doc && yarn build-docConf",
24
+ "test": "node node_modules/karma/bin/karma start",
25
+ "test-chrome": "npm run test -- --single-run=true --browsers Chrome karma.conf.js",
26
+ "test-chrome-headless": "npm run test -- --single-run=true --browsers ChromeHeadless karma.conf.js",
27
+ "test-firefox": "npm run test -- --single-run=true --browsers Firefox karma.conf.js",
28
+ "test-firefox-headless": "npm run test -- --single-run=true --browsers FirefoxHeadless karma.conf.js",
29
+ "test-watch": "npm run test -- --browsers=Chrome --single-run=false --auto-watch"
30
+ },
31
+ "devDependencies": {
32
+ "@babel/core": "^7.24.4",
33
+ "@babel/plugin-transform-runtime": "^7.24.3",
34
+ "@babel/preset-env": "^7.24.4",
35
+ "@babel/runtime": "^7.24.4",
36
+ "babel-loader": "^9.1.3",
37
+ "clean-webpack-plugin": "^4.0.0",
38
+ "coverage-istanbul-loader": "^3.0.5",
39
+ "documentation": "^14.0.3",
40
+ "eslint": "^8.57.0",
41
+ "host-environment": "^2.1.2",
42
+ "karma": "^6.4.3",
43
+ "karma-chrome-launcher": "^3.2.0",
44
+ "karma-coverage-istanbul-reporter": "^3.0.2",
45
+ "karma-firefox-launcher": "^2.1.3",
46
+ "karma-host-environment": "^3.0.3",
47
+ "karma-jquery": "^0.2.4",
48
+ "karma-qunit": "^4.2.0",
49
+ "karma-webpack": "^5.0.0",
50
+ "qunit": "^2.20.1",
51
+ "terser-webpack-plugin": "^5.3.10",
52
+ "webpack": "^5.91.0",
53
+ "webpack-cli": "^5.1.4",
54
+ "webpack-merge": "^5.10.0"
55
+ },
56
+ "dependencies": {
57
+ "async": "^3.2.5",
58
+ "dexie": "3.2.7",
59
+ "jquery": "3.7.1"
60
+ }
61
+ }
package/reinstall CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env bash
2
-
3
- ./clean
4
- ./install
1
+ #!/usr/bin/env bash
2
+
3
+ ./clean
4
+ ./install