babel-plugin-svelteflat
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -31,3 +31,3 @@ 'use strict'; | ||
return moduleArr[methodName] === option.libraryName || libraryObjs[methodName] === option.libraryName; | ||
}); // eslint-disable-line | ||
}); | ||
} | ||
@@ -105,3 +105,3 @@ options = options || opts; | ||
if (specified[node[prop].name]) { | ||
node[prop] = importMethod(node[prop].name, file, opts); // eslint-disable-line | ||
node[prop] = importMethod(node[prop].name, file, opts); | ||
} | ||
@@ -116,3 +116,3 @@ }); | ||
if (specified[node[prop].name]) { | ||
node[prop] = importMethod(node[prop].name, file, opts); // eslint-disable-line | ||
node[prop] = importMethod(node[prop].name, file, opts); | ||
} | ||
@@ -119,0 +119,0 @@ } |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.default = require('./core')('antd'); | ||
exports.default = require('./core')('svelteflat'); | ||
module.exports = exports['default']; |
{ | ||
"name": "babel-plugin-svelteflat", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Modular build plugin for babel.", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "rm -rf lib && babel src --out-dir lib --ignore __tests__", | ||
"test": "babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha --no-timeouts", | ||
"debug": "mocha --require babel-core/register --require babel-polyfill --no-timeouts", | ||
"build": "rm -rf lib && babel src --out-dir lib", | ||
"lint": "eslint --ext .js src", | ||
"coveralls": "cat ./coverage/lcov.info | coveralls", | ||
"prepublish": "npm run build" | ||
@@ -18,3 +15,5 @@ }, | ||
"keywords": [ | ||
"babel-plugin" | ||
"babel-plugin", | ||
"svelte", | ||
"svelte-flat" | ||
], | ||
@@ -24,23 +23,19 @@ "author": "chencheng <sorrycc@gmail.com>, qingwei-li <cinwell.li@gmail.com>, Jikkai <sonne@asaki.me>", | ||
"devDependencies": { | ||
"babel-cli": "^6.3.13", | ||
"babel-core": "^6.7.4", | ||
"babel-istanbul": "^0.7.0", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-preset-react": "^6.5.0", | ||
"babel-preset-stage-0": "^6.3.13", | ||
"coveralls": "^2.11.6", | ||
"eslint": "^2.7.0", | ||
"eslint-config-airbnb": "^6.2.0", | ||
"expect": "^1.13.4", | ||
"mocha": "^2.3.4", | ||
"pre-commit": "~1.1.2" | ||
"babel-cli": "^6.18.0", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.18.0", | ||
"babel-preset-stage-0": "^6.16.0", | ||
"eslint": "^3.12.2", | ||
"eslint-config-standard": "^6.2.1", | ||
"eslint-plugin-promise": "^3.4.0", | ||
"eslint-plugin-standard": "^2.0.1", | ||
"pre-commit": "^1.2.2" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/jikkai/babel-plugin-component.git" | ||
"url": "git+https://github.com/jikkai/babel-plugin-svelteflat.git" | ||
}, | ||
"homepage": "https://github.com/jikkai/babel-plugin-component#readme", | ||
"homepage": "https://github.com/jikkai/babel-plugin-svelteflat#readme", | ||
"bugs": { | ||
"url": "https://github.com/jikkai/babel-plugin-component/issues" | ||
"url": "https://github.com/jikkai/babel-plugin-svelteflat/issues" | ||
}, | ||
@@ -47,0 +42,0 @@ "babel": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
9
1
1
9540