@formio/offline-plugin 5.2.2 → 5.2.4

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/package.json CHANGED
@@ -1,18 +1,13 @@
1
1
  {
2
2
  "name": "@formio/offline-plugin",
3
3
  "main": "offlinePlugin.js",
4
- "scripts": {
5
- "build": "yarn build:pkg && yarn build:portal",
6
- "build:portal": "rm -rf dist && rm -rf lib && node setLicense --mockLicense && tsc && webpack --config config/webpack.prod.js && webpack --config config/webpack.embed.js",
7
- "build:pkg": "rm -rf build && rm -rf lib && node setLicense && tsc && webpack --config config/webpack.dist.js && webpack --config ./config/webpack.full.js",
8
- "watch": "tsc --watch",
9
- "lint": "eslint index.js",
10
- "test": "node test/run.js",
11
- "test:debug": "mocha-puppeteer ./test/test.js --devtools -t 0",
12
- "circle": "./node_modules/phantomjs-prebuilt/bin/phantomjs --debug=true --web-security=false ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html",
13
- "release": "yarn build && yarn publish ./build --access public"
4
+ "types": "lib/index.d.ts",
5
+ "publishConfig": {
6
+ "access": "public",
7
+ "directory": "dist"
14
8
  },
15
9
  "devDependencies": {
10
+ "@types/node": "20.14.1",
16
11
  "chai": "^4.3.4",
17
12
  "chalk": "4",
18
13
  "express": "^4.19.2",
@@ -23,11 +18,8 @@
23
18
  "jsdom-global": "^3.0.2",
24
19
  "mocha": "^10.4.0",
25
20
  "mock-local-storage": "^1.1.24",
26
- "puppeteer": "^22.10.0",
27
- "ts-node": "^10.9.2",
28
21
  "ts-sinon": "^2.0.2",
29
- "tslint": "^6.1.2",
30
- "typescript": "^5.4.5",
22
+ "typescript": "5.7.3",
31
23
  "webpack": "^5.91.0",
32
24
  "webpack-cli": "^5.1.4",
33
25
  "webpack-obfuscator": "^3.5.1",
@@ -37,7 +29,7 @@
37
29
  "copy-webpack-plugin": "^12.0.2"
38
30
  },
39
31
  "dependencies": {
40
- "@formio/js": "5.2.2",
32
+ "@formio/js": "^5.2.4",
41
33
  "bson-objectid": "^2.0.1",
42
34
  "crypto-js": "^4.2.0",
43
35
  "events": "^3.3.0",
@@ -48,11 +40,22 @@
48
40
  "querystring": "^0.2.1",
49
41
  "text-encoding-shim": "^1.0.5",
50
42
  "webcrypto-shim": "^0.1.7",
51
- "whatwg-fetch": "^3.6.20"
43
+ "whatwg-fetch": "^3.6.20",
44
+ "@formio/license": "^2.0.1"
52
45
  },
53
46
  "peerDependencies": {},
54
- "version": "5.2.2",
47
+ "version": "5.2.4",
55
48
  "files": [
56
49
  "*"
57
- ]
50
+ ],
51
+ "scripts": {
52
+ "build": "npm run build:portal",
53
+ "build:portal": "rm -rf dist && node setLicense --mockLicense && tsc && webpack --config config/webpack.prod.js && webpack --config config/webpack.embed.js",
54
+ "build:full": "node setLicense && tsc && webpack --config ./config/webpack.full.js",
55
+ "build:pkg": "rm -rf dist && rm -rf lib && node setLicense && tsc --project tsconfig.pkg.json && webpack --config config/webpack.dist.js && webpack --config ./config/webpack.full.js",
56
+ "watch": "tsc --watch",
57
+ "lint": "eslint index.js",
58
+ "test:debug": "mocha-puppeteer ./test/test.js --devtools -t 0",
59
+ "circle": "./node_modules/phantomjs-prebuilt/bin/phantomjs --debug=true --web-security=false ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html"
60
+ }
58
61
  }