-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.17 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.17 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
65
66
67
68
69
70
71
{
"name": "fauji",
"version": "1.1.0",
"description": "Lightweight testing framework for JavaScript/TypeScript",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.mjs",
"types": "dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs"
},
"./bin/runner": "./bin/runner"
},
"type": "module",
"bin": {
"fauji": "./bin/runner"
},
"scripts": {
"clean": "rm -rf dist",
"build:esm": "rollup -c --configPlugin @rollup/plugin-node-resolve --environment BUILD:esm",
"build:cjs": "rollup -c --configPlugin @rollup/plugin-node-resolve --environment BUILD:cjs",
"build:types": "echo 'No type build needed (using .d.ts files)'",
"postbuild": "mkdir -p dist/bin && cp bin/runner dist/bin/runner && chmod +x dist/bin/runner && mkdir -p dist/esm/matchers && cp src/matchers/*.d.ts dist/esm/matchers/",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types && npm run postbuild",
"lint": "eslint . --ext .js,.ts",
"lint:fix": "eslint . --ext .js,.ts --fix",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"dependencies": {
"@sinonjs/fake-timers": "^14.0.0",
"colors": "^1.4.0",
"deep-equal-check": "^1.1.0",
"diff": "^8.0.2",
"is-empty-dir": "^1.1.0",
"jsdom": "^24.0.0",
"esbuild": "^0.20.0",
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.23.0",
"@babel/preset-typescript": "^7.23.0",
"@babel/preset-react": "^7.23.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.4",
"rollup": "^4.45.1",
"rollup-plugin-dts": "^6.2.1",
"typescript": "^5.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/opensly/fauji.git"
},
"keywords": [
"javascript",
"testing",
"framework",
"assertions"
],
"author": "Lakshmikanth Vallampati <kanth.vallampati@gmail.com>",
"license": "MIT"
}