|
4 | 4 | "description": "Babel plugin that replaces System.import with the equivalent UMD pattern", |
5 | 5 | "main": "dist/index.js", |
6 | 6 | "scripts": { |
7 | | - "test": "npm run-script build && node test", |
| 7 | + "clean": "rimraf build", |
| 8 | + "build": "npm run clean && ./node_modules/.bin/babel src --out-dir dist", |
| 9 | + "eslint": "eslint src test", |
| 10 | + "eslint-fix": "eslint src test --fix", |
| 11 | + "prettify": "prettier --config .prettierrc --write \"src/**/*.js\" \"test/**/*.js\"", |
| 12 | + "catch-unprettified": "npm run prettify -- --check", |
| 13 | + "lint": "npm run catch-unprettified && npm run eslint", |
| 14 | + "test": "npm run build && npm run lint && node test", |
8 | 15 | "watch": "node test --watch", |
9 | | - "build": "./node_modules/.bin/babel src --out-dir dist", |
10 | | - "prepublish": "./node_modules/.bin/babel src --out-dir dist" |
| 16 | + "prepack": "npm run build" |
11 | 17 | }, |
12 | 18 | "author": "Thodoris Greasidis", |
13 | 19 | "license": "MIT", |
|
28 | 34 | }, |
29 | 35 | "homepage": "https://github.com/thgreasi/babel-plugin-system-import-transformer", |
30 | 36 | "devDependencies": { |
31 | | - "babel-cli": "^6.14.0", |
32 | | - "babel-core": "^6.14.0", |
33 | | - "babel-plugin-transform-runtime": "^6.15.0", |
34 | | - "babel-preset-es2015": "^6.14.0", |
35 | | - "babel-register": "^6.14.0", |
| 37 | + "@babel/cli": "^7.0.0", |
| 38 | + "@babel/core": "^7.0.0", |
| 39 | + "@babel/plugin-transform-runtime": "^7.0.0", |
| 40 | + "@babel/preset-env": "^7.0.0", |
| 41 | + "@babel/register": "^7.0.0", |
| 42 | + "babel-eslint": "^10.0.1", |
36 | 43 | "chalk": "^1.1.3", |
37 | 44 | "clear": "0.0.1", |
38 | 45 | "diff": "^2.2.3", |
39 | | - "js-beautify": "^1.6.2", |
| 46 | + "eslint": "^5.13.0", |
| 47 | + "eslint-config-standard": "^12.0.0", |
| 48 | + "eslint-plugin-import": "^2.16.0", |
| 49 | + "eslint-plugin-node": "^8.0.1", |
| 50 | + "eslint-plugin-promise": "^4.0.1", |
| 51 | + "eslint-plugin-standard": "^4.0.0", |
| 52 | + "husky": "^1.3.1", |
| 53 | + "lint-staged": "^8.1.3", |
| 54 | + "prettier": "~1.16.4", |
| 55 | + "rimraf": "^2.6.3", |
40 | 56 | "watch": "^0.18.0" |
41 | 57 | }, |
42 | 58 | "dependencies": { |
43 | | - "babel-plugin-syntax-dynamic-import": "^6.18.0" |
| 59 | + "@babel/core": "^7.0.0", |
| 60 | + "@babel/helper-plugin-utils": "^7.0.0", |
| 61 | + "@babel/plugin-syntax-dynamic-import": "^7.0.0" |
44 | 62 | } |
45 | 63 | } |
0 commit comments