-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.49 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "strictly-typed-events",
"version": "0.0.9",
"description": "An Event emitting/subscription library designed for simplicity, convenience, and type-safety in TypeScript projects.",
"repository": {
"type": "git",
"url": "https://github.com/UselessPickles/strictly-typed-events.git"
},
"homepage": "https://github.com/UselessPickles/strictly-typed-events#readme",
"bugs": {
"url": "https://github.com/UselessPickles/strictly-typed-events/issues"
},
"files": [
"dist",
"src"
],
"main": "dist/cjs/index.js",
"jsnext:main": "dist/es/index.js",
"module": "dist/es/index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"clean:dist": "rimraf dist",
"clean:coverage": "rimraf coverage",
"typecheck": "tsc --project tsconfig.typecheck.json --noEmit --pretty --noErrorTruncation",
"tsd": "tsd tsd_project",
"lint": "tslint --config tslint.json --project tsconfig.json",
"lint:fix": "npm run lint -- --fix",
"prettier:test": "prettier --ignore-unknown --list-different {*,**/*}",
"prettier:fix": "prettier --ignore-unknown --write {*,**/*}",
"build:types": "tsc --project tsconfig.build.json --pretty --noErrorTruncation --declaration true --emitDeclarationOnly true --declarationMap true --outDir dist/types",
"build:rollup": "rollup -c",
"build": "npm-run-all clean:dist --parallel build:*",
"jest": "jest",
"jest:coverage": "npm run clean:coverage && jest --coverage && opener coverage/lcov-report/index.html",
"test": "run-s typecheck tsd prettier:test lint jest",
"test:fix": "run-s typecheck tsd prettier:fix lint:fix jest",
"test:coverage": "run-s typecheck tsd prettier:test lint jest:coverage",
"build-travis": "run-p test:coverage build && npm publish --dry-run && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"author": {
"name": "Jeff Lau",
"email": "jlau@uselesspickles.com",
"url": "http://www.uselesspickles.com"
},
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "17.1.0",
"@rollup/plugin-typescript": "8.2.0",
"@types/jest": "26.0.18",
"@types/node": "14.14.31",
"coveralls": "3.1.0",
"flush-promises": "1.0.2",
"jest": "26.6.3",
"npm-run-all": "4.1.5",
"opener": "1.5.2",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"rollup": "2.40.0",
"ts-jest": "26.4.4",
"tsd": "0.14.0",
"tslint": "5.20.1",
"tslint-config-prettier": "1.18.0",
"typescript": "4.1.5"
},
"keywords": [
"typescript",
"strict",
"strictly",
"typed",
"event",
"events",
"emit",
"emitter",
"subscribe",
"subscription",
"dispatch",
"dispatcher",
"observe",
"observer",
"listen",
"listener"
],
"jest": {
"cacheDirectory": "./jest_cache",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.{js,ts}",
"!src/**/*.test-d.{js,ts}",
"!**/node_modules/**"
],
"coverageReporters": [
"text",
"lcov"
],
"testRegex": "((\\.|/)(test|spec))\\.(ts|js)$",
"moduleFileExtensions": [
"ts",
"js"
]
}
}