/
package.json
61 lines (61 loc) · 1.65 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
57
58
59
60
61
{
"name": "@jalik/observer",
"version": "2.2.0",
"description": "A library to observe events and trigger callbacks.",
"license": "MIT",
"keywords": [
"event",
"observer",
"listener"
],
"author": {
"name": "Karl Stein",
"email": "karl.stein.pro@gmail.com",
"url": "https://github.com/jalik"
},
"repository": {
"type": "git",
"url": "https://github.com/jalik/js-observer.git"
},
"bugs": {
"url": "https://github.com/jalik/js-observer/issues"
},
"sideEffects": false,
"esnext": "./esm/index.js",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"files": [
"/cjs",
"/esm"
],
"scripts": {
"build": "npm run build-cjs && npm run build-esm",
"build-cjs": "tsc -p tsconfig.cjs.json",
"build-esm": "tsc",
"clean": "rimraf ./cjs ./esm",
"dev-cjs": "tsc --watch -p tsconfig.cjs.json",
"dev-esm": "tsc --watch",
"dev": "concurrently 'npm:dev-*'",
"lint": "eslint --ext .ts .",
"lint-fix": "eslint --ext .ts --fix .",
"prepare": "npm run clean && npm run build",
"prepublishOnly": "npm run lint && npm test",
"test": "jest --passWithNoTests --coverage=true"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@jest/globals": "^29.7.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.9.0",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
}
}