UNPKG

babel-plugin-root-import

Version:
46 lines (45 loc) 1.67 kB
{ "name": "babel-plugin-root-import", "version": "6.6.0", "description": "Babel Plugin to enable relative root-import", "author": "Michael J. Zoidl <github@michaelzoidl.com>", "license": "MIT", "main": "index.js", "files": [ "index.js", "build" ], "repository": "entwicklerstube/babel-plugin-root-import", "scripts": { "test": "npm run test-babel6; npm run test-babel7", "test-babel6": "mocha test/*.spec.js --require babel-core/register --require config/mocha.js", "test-babel7": "mocha test/*.spec.js --require babel-core/register --require config/mocha.js --require test/set-babel7.js ", "test-watch": "mocha test/*.spec.js --require babel-core/register --require config/mocha.js --watch", "lint-js": "eslint plugin && npm run format-check", "format": "npm run prettier-internal -- --write", "format-check": "npm run prettier-internal -- --check", "prettier-internal": "prettier 'plugin/*.js' README.md 'config/*.js' .eslintrc package.json 'test/**/*.js'", "compile": "babel -d build/ plugin/", "prepublish": "npm run test && npm run compile" }, "dependencies": { "slash": "^3.0.0" }, "devDependencies": { "@babel/cli": "^7.1.2", "@babel/core": "^7.1.2", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/preset-env": "^7.4.5", "babel-cli": "^6.10.1", "babel-core": "^6.2.1", "babel-eslint": "^10.0.2", "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-preset-es2015": "^6.1.18", "babel-preset-stage-1": "^6.1.18", "chai": "^4.2.0", "eslint": "~6.0.1", "mocha": "^6.1.4", "prettier": "1.18.2", "sinon": "^7.3.2" } }