UNPKG

ts-transform-img

Version:

Allow `import * as img from 'foo.png'` in TS

50 lines (49 loc) 1.33 kB
{ "name": "ts-transform-img", "version": "0.4.2", "description": "Allow `import * as img from 'foo.png'` in TS", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "test": "rm -rf test/fixture/*.js && mocha --require ts-node/register test/**/*.test.ts", "prettier": "prettier --print-width=120 --tab-width=4 --single-quote --trailing-comma=es5 --no-semi --parser=typescript --write 'src/**/*.ts*' 'test/**/*.ts*' || true", "prepublishOnly": "tsc" }, "repository": { "type": "git", "url": "git+https://github.com/longlho/ts-transform-img.git" }, "keywords": [ "typescript", "transform", "png" ], "author": "Long Ho", "license": "MIT", "bugs": { "url": "https://github.com/longlho/ts-transform-img/issues" }, "homepage": "https://github.com/longlho/ts-transform-img#readme", "devDependencies": { "@types/chai": "^4.1.7", "@types/fs-extra": "7", "@types/mocha": "^5.2.6", "@types/node": "12", "chai": "^4.2.0", "fs-extra": "8", "glob": "^7.1.4", "mocha": "^6.1.4", "pre-commit": "^1.2.2", "prettier": "^1.17.1", "ts-node": "^8.1.0" }, "dependencies": { "@types/loader-utils": "^1.1.3", "loader-utils": "^1.2.3", "typescript": "^3.2" }, "pre-commit": [ "prettier", "test" ] }