-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
45 lines (45 loc) · 1.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "compare-versions",
"version": "6.1.1",
"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",
"prepublishOnly": "npm run build",
"test": "c8 --reporter=lcov mocha"
},
"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.7",
"c8": "^10.1.2",
"mocha": "^10.6.0",
"rollup": "^4.18.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
}
}