|
5 | 5 | "main": "index.js", |
6 | 6 | "jsdelivr": "./dist/addsearch-js-client.min.js", |
7 | 7 | "scripts": { |
8 | | - "test": "./node_modules/mocha/bin/mocha -r esm --compilers js:babel-core/register", |
9 | | - "build": "npm test ; ./node_modules/webpack-cli/bin/webpack.js" |
| 8 | + "test": "./node_modules/mocha/bin/mocha --recursive --require @babel/register", |
| 9 | + "build": "npm run test && ./node_modules/webpack-cli/bin/cli.js", |
| 10 | + "watch": "./node_modules/webpack-cli/bin/cli.js --watch" |
10 | 11 | }, |
11 | 12 | "repository": { |
12 | 13 | "type": "git", |
|
35 | 36 | ], |
36 | 37 | "license": "MIT", |
37 | 38 | "dependencies": { |
38 | | - "es6-promise": "^4.2.6", |
| 39 | + "es6-promise": "^4.2.8", |
39 | 40 | "isomorphic-fetch": "^2.2.1" |
40 | 41 | }, |
41 | 42 | "devDependencies": { |
42 | | - "@babel/cli": "^7.4.4", |
43 | | - "@babel/core": "^7.4.4", |
44 | | - "babel-loader": "^7.1.5", |
45 | | - "babel-preset-es2015": "^6.24.1", |
46 | | - "esm": "^3.2.22", |
47 | | - "fetch-mock": "^7.3.3", |
48 | | - "mocha": "^5.0.5", |
49 | | - "node-fetch": "^2.5.0", |
50 | | - "uglify-js": "^3.5.15", |
51 | | - "webpack": "^4.4.1", |
52 | | - "webpack-cli": "^2.0.13" |
| 43 | + "@babel/cli": "^7.7.7", |
| 44 | + "@babel/core": "^7.7.7", |
| 45 | + "@babel/preset-env": "^7.7.7", |
| 46 | + "@babel/register": "^7.7.7", |
| 47 | + "babel-loader": "^8.0.6", |
| 48 | + "esm": "^3.2.25", |
| 49 | + "fetch-mock": "^8.3.1", |
| 50 | + "mocha": "^6.2.2", |
| 51 | + "node-fetch": "^2.6.0", |
| 52 | + "uglify-js": "^3.7.4", |
| 53 | + "webpack": "^4.41.5", |
| 54 | + "webpack-cli": "^3.3.10" |
53 | 55 | } |
54 | 56 | } |
0 commit comments