|
1 | 1 | {
|
2 | 2 | "scripts": {
|
3 |
| - "build": "grunt build", |
4 |
| - "clean": "grunt clean", |
| 3 | + "build": "yarn clean && cross-env NODE_ENV=production webpack", |
| 4 | + "clean": "rimraf dist", |
5 | 5 | "lint": "yarn eslint 'src/**/*.{ts,tsx}'",
|
6 |
| - "start": "grunt", |
| 6 | + "start": "cross-env NODE_ENV=development webpack --watch", |
7 | 7 | "e2e-build": "cp ./dist/leanplum.min.js ./test/e2e/ && cp ./dist/sw/sw.min.js ./test/e2e/",
|
8 | 8 | "e2e-serve": "yarn run e2e-build && http-server test/e2e -p 8989 -a localhost",
|
9 | 9 | "e2e-deploy": "yarn run e2e-build && now deploy test/e2e",
|
10 | 10 | "test": "jest"
|
11 | 11 | },
|
12 | 12 | "license": "Apache-2.0",
|
13 | 13 | "devDependencies": {
|
14 |
| - "@types/jest": "^25.1.1", |
15 |
| - "@types/node": "^13.5.0", |
16 |
| - "@typescript-eslint/eslint-plugin": "^2.28.0", |
17 |
| - "@typescript-eslint/parser": "^2.28.0", |
| 14 | + "@types/jest": "^25.2.1", |
| 15 | + "@types/node": "^13.13.4", |
| 16 | + "@types/webpack": "^4.41.12", |
| 17 | + "@typescript-eslint/eslint-plugin": "^2.29.0", |
| 18 | + "@typescript-eslint/parser": "^2.29.0", |
18 | 19 | "chai": "^3.5.0",
|
| 20 | + "cross-env": "^7.0.2", |
19 | 21 | "dts-bundle": "^0.7.3",
|
20 | 22 | "eslint": "^6.8.0",
|
21 | 23 | "eslint-loader": "^4.0.0",
|
22 |
| - "fork-ts-checker-webpack-plugin": "^4.0.4", |
23 |
| - "grunt": "^1.0.1", |
24 |
| - "grunt-contrib-clean": "^2.0.0", |
25 |
| - "grunt-contrib-jshint": "^1.1.0", |
26 |
| - "grunt-webpack": "^3.0.0", |
| 24 | + "fork-ts-checker-webpack-plugin": "^4.1.3", |
27 | 25 | "http-server": "^0.12.1",
|
28 |
| - "jest": "^25.1.0", |
| 26 | + "jest": "^25.4.0", |
29 | 27 | "jsdom": "^9.12.0",
|
30 |
| - "lodash.clonedeep": "^4.5.0", |
31 | 28 | "lodash.isequal": "^4.5.0",
|
32 | 29 | "lodash.merge": "^4.6.2",
|
33 | 30 | "mock-local-storage": "^1.0.2",
|
| 31 | + "rimraf": "^3.0.2", |
34 | 32 | "sinon": "^2.1.0",
|
35 |
| - "ts-jest": "^25.2.0", |
36 |
| - "ts-loader": "^6.2.1", |
37 |
| - "typescript": "^3.7.2", |
| 33 | + "ts-jest": "^25.4.0", |
| 34 | + "ts-loader": "^7.0.1", |
| 35 | + "ts-node": "^8.9.1", |
| 36 | + "typescript": "^3.8.3", |
38 | 37 | "uglifyjs-webpack-plugin": "^2.2.0",
|
39 |
| - "webpack": "^4.41.2" |
| 38 | + "webpack": "^4.43.0", |
| 39 | + "webpack-cli": "^3.3.11" |
40 | 40 | },
|
41 | 41 | "name": "leanplum-sdk",
|
42 | 42 | "description": "This is the JavaScript SDK for Leanplum, allowing developers to access and integrate the functionality of Leanplum with applications and devices through JavaScript and HTML5. Leanplum is an application development platform that provides mobile A/B testing, messaging functionality, personalization, and more features for applications. ## Installation Add leanplum.js to your project: ```javascript <script type=\"text/javascript\" src=\"leanplum.js\"></script> ``` ## Usage Initialize Leanplum.",
|
|
0 commit comments