|
10 | 10 | "lint": "eslint --ignore-path .gitignore --fix \"**/*.js\"", |
11 | 11 | "test": "cross-env NODE_ENV=test DEBUG=nuxt:netlify-cms jest --runInBand --forceExit", |
12 | 12 | "pretest": "yarn lint", |
13 | | - "build": "babel --ignore /__tests__/,/__mocks__/ -d ./dist ./src", |
14 | | - "watch": "babel -w --ignore /__tests__/,/__mocks__/ -d ./dist ./src", |
| 13 | + "build": "babel --ignore src/**/__tests__/,src/**/__mocks__/ -d ./dist ./src", |
| 14 | + "watch": "babel -w --ignore src/**/__tests__/,src/**/__mocks__/ -d ./dist ./src", |
15 | 15 | "release": "standard-version; git push --follow-tags", |
16 | 16 | "prepare": "yarn build" |
17 | 17 | }, |
|
23 | 23 | "@nuxt/friendly-errors-webpack-plugin": "^2.4.0", |
24 | 24 | "extract-css-chunks-webpack-plugin": "^3.3.2", |
25 | 25 | "js-yaml": "^3.10.0", |
26 | | - "needlepoint": "^1.0.5", |
27 | 26 | "style-loader": "^0.23.0" |
28 | 27 | }, |
29 | 28 | "peerDependencies": { |
30 | 29 | "netlify-cms": ">=0.4.0" |
31 | 30 | }, |
32 | 31 | "devDependencies": { |
| 32 | + "@babel/cli": "^7.2.3", |
| 33 | + "@babel/plugin-proposal-object-rest-spread": "^7.3.2", |
| 34 | + "@babel/plugin-transform-runtime": "^7.2.0", |
| 35 | + "@babel/preset-env": "^7.3.1", |
33 | 36 | "@nuxt/common": "^2.3.4", |
34 | | - "babel-cli": "^6.26.0", |
35 | 37 | "babel-eslint": "^10.0.1", |
36 | | - "babel-plugin-transform-decorators-legacy": "^1.3.4", |
37 | | - "babel-plugin-transform-object-rest-spread": "^6.26.0", |
38 | | - "babel-plugin-transform-runtime": "^6.23.0", |
39 | | - "babel-preset-env": "^1.6.0", |
40 | 38 | "codecov": "^3.0.0", |
41 | 39 | "cross-env": "^5.0.5", |
42 | 40 | "eslint": "^5.0.1", |
|
47 | 45 | "eslint-plugin-jest": "^22.0.0", |
48 | 46 | "git-exec-and-restage": "^1.0.1", |
49 | 47 | "husky": "^1.1.3", |
50 | | - "jest": "^23.5.0", |
| 48 | + "jest": "^24.1.0", |
51 | 49 | "koa": "^2.3.0", |
52 | 50 | "koa-static": "^5.0.0", |
53 | 51 | "lint-staged": "^8.0.4", |
|
68 | 66 | ] |
69 | 67 | }, |
70 | 68 | "babel": { |
71 | | - "presets": "babel-preset-env", |
| 69 | + "presets": ["@babel/preset-env"], |
72 | 70 | "plugins": [ |
73 | | - "transform-runtime", |
| 71 | + "@babel/plugin-transform-runtime", |
74 | 72 | [ |
75 | | - "transform-object-rest-spread", |
| 73 | + "@babel/plugin-proposal-object-rest-spread", |
76 | 74 | { |
77 | 75 | "useBuiltIns": true |
78 | 76 | } |
79 | | - ], |
80 | | - "transform-decorators-legacy" |
| 77 | + ] |
81 | 78 | ], |
82 | 79 | "env": { |
83 | 80 | "test": { |
|
0 commit comments