45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
|
|
{
|
||
|
|
"name": "compare-versions",
|
||
|
|
"version": "5.0.3",
|
||
|
|
"description": "Compare semver version strings to find greater, equal or lesser.",
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/omichelsen/compare-versions.git"
|
||
|
|
},
|
||
|
|
"author": "Ole Michelsen",
|
||
|
|
"license": "MIT",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/omichelsen/compare-versions/issues"
|
||
|
|
},
|
||
|
|
"homepage": "https://github.com/omichelsen/compare-versions#readme",
|
||
|
|
"keywords": [
|
||
|
|
"semver",
|
||
|
|
"version",
|
||
|
|
"compare",
|
||
|
|
"browser",
|
||
|
|
"node"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"build": "npm run build:esm && npm run build:umd",
|
||
|
|
"build:esm": "tsc --module esnext --target es2017 --outDir lib/esm",
|
||
|
|
"build:umd": "rollup lib/esm/index.js --format umd --name compareVersions --sourcemap -o lib/umd/index.js",
|
||
|
|
"test": "c8 --reporter=lcov mocha -r ts-node/register test/**/*.ts"
|
||
|
|
},
|
||
|
|
"main": "./lib/umd/index.js",
|
||
|
|
"module": "./lib/esm/index.js",
|
||
|
|
"types": "./lib/esm/index.d.ts",
|
||
|
|
"sideEffects": false,
|
||
|
|
"files": [
|
||
|
|
"lib",
|
||
|
|
"src"
|
||
|
|
],
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/mocha": "^10.0.1",
|
||
|
|
"c8": "^7.10.0",
|
||
|
|
"mocha": "^10.0.0",
|
||
|
|
"rollup": "^3.7.4",
|
||
|
|
"ts-node": "^10.7.0",
|
||
|
|
"typescript": "^4.6.3"
|
||
|
|
}
|
||
|
|
}
|