esbuild-skypack-resolver
Version:
A plugin to resolve package names to Skypack CDN URLs
102 lines (101 loc) • 2.94 kB
JSON
{
"name": "esbuild-skypack-resolver",
"version": "1.0.13",
"description": "A plugin to resolve package names to Skypack CDN URLs",
"type": "module",
"main": "./dist.index.cjs",
"module": "./dist/index.mjs",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"scripts": {
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:typescript",
"lint:eslint": "eslint --ext .ts, . --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.ts\" --check --ignore-path .gitignore",
"lint:typescript": "tsc",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .ts, . --fix --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.ts\" --write --ignore-path .gitignore",
"test": "mocha",
"build": "node --loader ts-node/esm ./script/build.ts"
},
"keywords": [
"resolver",
"cdn",
"skypack",
"esbuild",
"esbuild-plugin"
],
"author": "Rodrigo García <yo@rodrigogarcia.me>",
"license": "MIT",
"dependencies": {
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node-fetch": "^2.5.10",
"@types/sinon": "^10.0.2",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"chai": "^4.3.4",
"esbuild": "^0.12.5",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"mocha": "^8.4.0",
"prettier": "^2.3.1",
"sinon": "^11.1.1",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-comment": 0
}
},
"prettier": {
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 4
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/rodrigo-garcia-leon/esbuild-skypack-resolver.git"
},
"engines": {
"node": ">=14.17.0"
},
"mocha": {
"require": "ts-node/register",
"loader": "ts-node/esm",
"extensions": [
"ts"
],
"spec": [
"test/**/*.spec.ts"
]
}
}