-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.1 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
{
"name": "event-bus",
"version": "1.0.0",
"description": "A simple TypeScript messaging/event-bus implementation using an in-memory store",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "npm run compile",
"clean": "node ./node_modules/rimraf/bin \"lib\"",
"compile": "npm run clean && npm run copy && node ./node_modules/typescript/lib/tsc",
"copy": "npm run copy:js",
"copy:js": "node ./node_modules/cpx/bin \"src/**/*.{js,json}\" \"lib\"",
"prepare": "npm run build && npm run test",
"test": "node ./node_modules/jest/bin/jest"
},
"author": "Nate Judice <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/jest": "^23.3.1",
"cpx": "^1.5.0",
"jest": "^23.5.0",
"rimraf": "^2.6.2",
"ts-jest": "^23.10.0-beta.6",
"typescript": "^3.0.3"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
],
"testRegex": "src/.*\\.test\\.(js|ts)$"
}
}