|
4 | 4 | "clean": "rimraf dist", |
5 | 5 | "lint": "yarn eslint 'src/**/*.{ts,tsx}'", |
6 | 6 | "start": "cross-env NODE_ENV=development webpack --watch", |
7 | | - "e2e-build": "tsc --project tsconfig.e2e.json && yarn run e2e-copy", |
| 7 | + "e2e-build": "mkdir -p ./test/e2e/dist/ && cp ./dist/leanplum.js ./test/e2e/dist/leanplum.js && tsc --project tsconfig.e2e.json && yarn run e2e-copy", |
8 | 8 | "e2e-copy": "cp ./test/e2e/*.html ./dist/e2e/ && cp ./dist/*.js ./dist/e2e/ && cp ./dist/sw/*.js ./dist/e2e/", |
9 | 9 | "e2e-deploy": "yarn run e2e-build && now deploy dist/e2e --confirm --local-config vercel.json", |
10 | 10 | "e2e-serve": "yarn run e2e-build && http-server dist/e2e -p 8989 -a localhost", |
|
19 | 19 | "@types/jest": "^25.2.1", |
20 | 20 | "@types/jquery": "^3.3.38", |
21 | 21 | "@types/node": "^13.13.4", |
22 | | - "@types/webpack": "^4.41.12", |
| 22 | + "@types/webpack": "^5", |
23 | 23 | "@typescript-eslint/eslint-plugin": "^2.29.0", |
24 | 24 | "@typescript-eslint/parser": "^2.29.0", |
25 | 25 | "chai": "^3.5.0", |
|
29 | 29 | "eslint-loader": "^4.0.0", |
30 | 30 | "fork-ts-checker-webpack-plugin": "^4.1.3", |
31 | 31 | "http-server": "^0.12.1", |
32 | | - "jest": "^25.4.0", |
33 | | - "jsdom": "^9.12.0", |
| 32 | + "jest": "^29", |
| 33 | + "jest-environment-jsdom": "^29.3.1", |
| 34 | + "jsdom": "^20.0.3", |
34 | 35 | "lodash.isequal": "^4.5.0", |
35 | 36 | "lodash.merge": "^4.6.2", |
36 | 37 | "mock-local-storage": "^1.0.2", |
37 | 38 | "rimraf": "^3.0.2", |
38 | 39 | "semantic-release": "^19.0.2", |
39 | 40 | "sinon": "^2.1.0", |
40 | | - "ts-jest": "^25.4.0", |
41 | | - "ts-loader": "^7.0.1", |
42 | | - "ts-node": "^8.9.1", |
43 | | - "typescript": "^3.8.3", |
44 | | - "uglifyjs-webpack-plugin": "^2.2.0", |
45 | | - "webpack": "^4.43.0", |
46 | | - "webpack-cli": "^3.3.11" |
| 41 | + "ts-jest": "^29", |
| 42 | + "ts-loader": "^9", |
| 43 | + "ts-node": "^10", |
| 44 | + "typescript": "^4", |
| 45 | + "webpack": "^5", |
| 46 | + "webpack-cli": "^5" |
47 | 47 | }, |
48 | 48 | "name": "leanplum-sdk", |
49 | 49 | "description": "The JavaScript SDK for Leanplum allows developers to integrate the Leanplum platform with applications that use JavaScript and HTML5. Leanplum is an customer engagement platform that provides mobile A/B testing, messaging, and personalization features for websites and web applications.", |
|
0 commit comments