Files
nexe/package.json
T
calebboyd d361ed0c34 refactor: update all deps, ship esm (and cjs)
BREAKING: drop support for node < 14

BREAKING: removed snapshot, ico, and rc options

BREAKING: use python3 as default python binary
2022-12-23 12:17:51 -06:00

109 lines
2.8 KiB
JSON

{
"name": "nexe",
"description": "Create a single executable out of your Node.js application",
"license": "MIT",
"type": "commonjs",
"version": "4.0.0-rc.3",
"bin": {
"nexe": "./bin/index.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",
"bin"
],
"scripts": {
"lint": "tsc --noEmit && eslint \"{src,tasks,test}/**/*.ts\" --fix",
"test": "vitest run",
"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.0.1",
"download": "^8.0.0",
"fast-glob": "^3.2.11",
"got": "^12.0.4",
"meriyah": "^4.2.1",
"minimist": "^1.2.6",
"multistream": "^4.1.0",
"ora": "^6.1.0",
"resolve-dependencies": "^6.0.7"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.181",
"@types/minimist": "^1.2.2",
"@types/multistream": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"typescript": "^4.6.4",
"vitest": "^0.12.3"
},
"prettier": {
"parser": "typescript",
"semi": false,
"singleQuote": true,
"printWidth": 100
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
"rules": {
"@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"
]
}
}
}