ts-import-plugin
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -77,3 +77,3 @@ "use strict"; | ||
var style = options.style, styleExt = options.styleExt; | ||
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(libraryName + "/lib/" + importName + "/style/" + (style === 'css' ? (styleExt ? styleExt : 'css') : 'index') + ".js")); | ||
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(importPath + "/style/" + (style === 'css' ? (styleExt ? styleExt : 'css') : 'index') + ".js")); | ||
astNodes.push(styleNode); | ||
@@ -80,0 +80,0 @@ } |
{ | ||
"name": "ts-import-plugin", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "babel-plugin-import TypeScript version", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"cover": "rm -rf ./coverage ./.nyc_output && nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=test mocha && nyc report", | ||
"lint": "tslint -c ./tslint.json ./src/**/*.ts & standard \"test/*.js\" \"./*.js\"", | ||
"lint": "tslint -c ./tslint.json -p ./src/tsconfig.json & standard \"test/*.js\" \"./*.js\"", | ||
"prepare": "npm run build", | ||
@@ -33,33 +33,33 @@ "start": "rm -rf dist && NODE_ENV=production webpack", | ||
"devDependencies": { | ||
"@types/chai": "^4.0.2", | ||
"@types/lodash": "^4.14.71", | ||
"@types/material-ui": "^0.18.0", | ||
"@types/mocha": "^2.2.41", | ||
"@types/node": "^8.0.19", | ||
"@types/react": "^16.0.0", | ||
"@types/react-dom": "^16.0.0", | ||
"antd": "^3.0.0", | ||
"@types/chai": "^4.1.2", | ||
"@types/lodash": "^4.14.104", | ||
"@types/material-ui": "^0.20.7", | ||
"@types/mocha": "^2.2.48", | ||
"@types/node": "^9.4.6", | ||
"@types/react": "^16.0.38", | ||
"@types/react-dom": "^16.0.4", | ||
"antd": "^3.2.1", | ||
"chai": "^4.1.2", | ||
"coveralls": "^3.0.0", | ||
"css-loader": "^0.28.4", | ||
"extract-text-webpack-plugin": "^3.0.0", | ||
"lodash": "^4.17.4", | ||
"css-loader": "^0.28.10", | ||
"extract-text-webpack-plugin": "^3.0.2", | ||
"lodash": "^4.17.5", | ||
"material-ui": "^0.20.0", | ||
"mocha": "^4.0.1", | ||
"nyc": "^11.2.1", | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0", | ||
"rxjs": "^5.5.2", | ||
"standard": "^10.0.3", | ||
"style-loader": "^0.19.0", | ||
"ts-loader": "^3.1.0", | ||
"ts-node": "^3.3.0", | ||
"tslint": "^5.7.0", | ||
"tslint-eslint-rules": "^4.1.1", | ||
"typescript": "^2.6.2", | ||
"webpack": "^3.8.1", | ||
"webpack-bundle-analyzer": "^2.8.3" | ||
"mocha": "^5.0.1", | ||
"nyc": "^11.4.1", | ||
"react": "^16.2.0", | ||
"react-dom": "^16.2.0", | ||
"rxjs": "^5.5.6", | ||
"standard": "^11.0.0", | ||
"style-loader": "^0.20.2", | ||
"ts-loader": "^3.5.0", | ||
"ts-node": "^5.0.0", | ||
"tslint": "^5.9.1", | ||
"tslint-eslint-rules": "^5.0.0", | ||
"typescript": "^2.7.2", | ||
"webpack": "^3.11.0", | ||
"webpack-bundle-analyzer": "^2.10.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^1.7.1" | ||
"tslib": "^1.9.0" | ||
}, | ||
@@ -66,0 +66,0 @@ "standard": { |
@@ -101,3 +101,3 @@ [![npm version](https://badge.fury.io/js/ts-import-plugin.svg)](https://www.npmjs.com/package/ts-import-plugin) | ||
libraryName: 'material-ui', | ||
libraryDirectory: 'components', | ||
libraryDirectory: '', | ||
camel2DashComponentName: false | ||
@@ -119,3 +119,3 @@ } | ||
libraryName: 'material-ui', | ||
libraryDirectory: 'components', | ||
libraryDirectory: '', | ||
camel2DashComponentName: false | ||
@@ -170,3 +170,3 @@ } | ||
libraryName: 'material-ui', | ||
libraryDirectory: 'components', | ||
libraryDirectory: '', | ||
camel2DashComponentName: false | ||
@@ -173,0 +173,0 @@ }) |
Sorry, the diff of this file is not supported yet
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
17815
Updatedtslib@^1.9.0