-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.08 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.08 KB
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
57
58
59
60
61
62
63
64
{
"name": "@twistezo/ifless",
"version": "2.0.4",
"author": "twistezo",
"license": "MIT",
"description": "Conditional logic using natural language operators through template literals.",
"keywords": [
"conditional",
"logic",
"template literals",
"ifless",
"AND",
"OR",
"NOT"
],
"homepage": "https://github.com/twistezo/ifless",
"repository": {
"type": "git",
"url": "git+https://github.com/twistezo/ifless.git"
},
"bugs": {
"url": "https://github.com/twistezo/ifless/issues"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "bun run build:esm && bun run build:cjs && bun run build:types",
"build:esm": "bun build src/index.ts --outdir dist/esm --format esm",
"build:cjs": "bun build src/index.ts --outdir dist/cjs --format cjs",
"build:types": "bun run tsc --emitDeclarationOnly",
"postbuild": "mv dist/cjs/index.js dist/cjs/index.cjs && mv dist/esm/index.js dist/esm/index.mjs",
"test": "bun test && bun test:integration",
"test:integration": "bun run test:integration:esm && bun run test:integration:cjs",
"test:integration:esm": "bun run build && bun tests/integration/test-dist-esm.mjs",
"test:integration:cjs": "bun run build && node tests/integration/test-dist-cjs.cjs",
"lint": "bun run eslint src tests examples --ext ts",
"lint:fix": "bun run eslint src tests examples --ext ts --fix",
"typecheck": "bun run tsc --noEmit",
"prepublish": "bun run test && bun run lint && bun run typecheck",
"example": "bun run build:esm && bun run examples/main.ts"
},
"peerDependencies": {
"typescript": "^5"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/bun": "latest",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-perfectionist": "^5.4.0",
"eslint-plugin-prettier": "^5.5.5",
"prettier": "^3.8.1",
"typescript-eslint": "^8.53.1"
}
}