elite-matrix/package.json

34 lines
962 B
JSON
Raw Normal View History

2023-05-14 10:33:59 -07:00
{
"name": "elite-matrix",
2023-05-14 12:52:32 -07:00
"version": "1.0.1",
2023-05-14 10:33:59 -07:00
"description": "A small library for working with the Elite Dangerous color matrix.",
"types": "./lib/cjs/types/index.d.ts",
"main": "./lib/cjs/index.js",
"scripts": {
"clean": "rm -rf ./lib",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"prepack": "npm run build"
},
"keywords": [],
"author": "CMDR Punkfairie",
"license": "GPL-3.0-only",
"devDependencies": {
"typescript": "^5.0.4"
},
"files": ["lib/**/*"],
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
}
}