Files
nexe/package.json
calebboyd ad7346afb2 bump deps
2022-12-23 13:32:04 -06:00

125 lines
3.2 KiB
JSON

{
"name": "nexe",
"description": "Create a single executable out of your Node.js application",
"license": "MIT",
"type": "commonjs",
"version": "4.0.0-rc.local",
"bin": {
"nexe": "./index.js"
},
"types": "./lib/types/nexe.d.ts",
"main": "./lib/cjs/nexe.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./lib/types/nexe.d.ts",
"node": {
"import": "./lib/esm/nexe.js",
"require": "./lib/cjs/nexe.js"
}
}
},
"engines": {
"node": ">=14"
},
"repository": {
"type": "git",
"url": "git://github.com/nexe/nexe.git"
},
"files": [
"lib",
"index.js"
],
"scripts": {
"lint": "tsc --noEmit && eslint \"{src,tasks,test}/**/*.ts\" --fix",
"test": "vitest run && node test/exports.mjs",
"prepublishOnly": "npm run lint && npm run build && npm test",
"build": "npm run cjs:build & npm run esm:build",
"prebuild": "rm -rf lib",
"cjs:build": "swc src -d lib/cjs --copy-files",
"esm:build": "swc src -d lib/esm --copy-files -C module.type=es6",
"postbuild": "node -p \"JSON.stringify({type:'module'})\" > lib/esm/package.json && tsc --emitDeclarationOnly && ts-node tasks/post-build"
},
"contributors": [
"Craig Condon <craig.j.condon@gmail.com> (http://crcn.io)",
"Jared Allard <jaredallard@outlook.com>",
"Caleb Boyd <caleb.boyd@hotmail.com>"
],
"dependencies": {
"caw": "^2.0.1",
"chalk": "^5.2.0",
"download": "^8.0.0",
"fast-glob": "^3.2.12",
"got": "^12.5.3",
"meriyah": "^4.3.3",
"minimist": "^1.2.7",
"multistream": "^4.1.0",
"ora": "^6.1.2",
"resolve-dependencies": "^6.0.8"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.24",
"@types/minimist": "^1.2.2",
"@types/multistream": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"vitest": "^0.26.2"
},
"prettier": {
"parser": "typescript",
"semi": false,
"singleQuote": true,
"printWidth": 100
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"import",
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/consistent-type-imports": [
2,
{
"prefer": "type-imports",
"disallowTypeAnnotations": false
}
],
"import/extensions": [
2,
"ignorePackages"
],
"@typescript-eslint/no-unused-vars": [
2,
{
"args": "after-used",
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"no-warning-comments": 1,
"one-var": [
"error",
"consecutive"
]
}
}
}