33 lines
962 B
JSON
33 lines
962 B
JSON
{
|
|
"name": "elite-matrix",
|
|
"version": "1.0.0",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|