-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.44 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
46
47
48
49
50
51
52
53
54
55
56
{
"name": "conditio",
"version": "2.3.4",
"description": "A lightweight library that provides a simple and expressive way to write conditional expressions with return values in JavaScript.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/ousc/conditio.git"
},
"scripts": {
"test": "npm run build:clean && npm run compile && tsc -b ./tsconfig.spec.json && mocha ./dist/spec/test/app.spec.js",
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"build:clean": "rm -rf ./dist",
"build": "npm run build:clean && npm run compile && node ./scripts/prepare-package-json",
"build:publish": "npm run build && npm publish"
},
"keywords": [
"when",
"conditional expressions",
"return values",
"javaScript",
"typescript",
"library",
"swtich",
"If",
"Is",
"case",
"kotlin",
"conditions",
"conditional functions",
"In",
"Matches",
"Between",
"BelongTo",
"Else",
"Not",
"NotIn",
"NotMatches",
"NotBetween"
],
"author": "ousc",
"license": "ISC",
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/mocha": "^5.2.0",
"chai": "^4.3.4",
"mocha": "^10.2.0",
"typescript": "^5.0.4"
},
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
}