-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.52 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
{
"name": "kelda-js",
"version": "0.5.1",
"author": "Rufus Raghunath",
"description": "A thread pool for the browser, built on top of Web Workers",
"license": "MIT",
"main": "dist/bundle.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/rufusraghunath/kelda.git"
},
"keywords": [
"web workers",
"workers",
"thread",
"threadpool",
"thread pool",
"threading",
"performance",
"javascript"
],
"bugs": {
"url": "https://github.com/rufusraghunath/kelda/issues"
},
"homepage": "https://github.com/rufusraghunath/kelda#readme",
"scripts": {
"prepublish": "npm run build",
"build": "npm run lint && npm run prettier && npm run test:coverage && npm run bundle && npm run copy-types",
"bundle": "webpack --mode=production",
"build-test-scripts": "webpack --mode=production --config=./src/util/test/webpack.config.js",
"test": "jest --config jestconfig.json --watch",
"test:coverage": "jest --config jestconfig.json --coverage",
"prettier:base": "prettier --parser typescript",
"prettier": "npm run prettier:base -- --list-different \"src/**/*.ts\"",
"prettier:fix": "npm run prettier:base -- --loglevel warn --write \"src/**/*.ts\"",
"lint": "npx eslint 'src/**/*.ts' -c ./eslintconfig.json",
"lint:fix": "npm run lint -- --fix",
"copy-types": "cp src/types/index.d.ts dist",
"local-registry": "verdaccio",
"local-registry:publish": "npm publish --registry http://localhost:4873",
"test-app": "cd test-app && npm run start"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run build"
}
},
"lint-staged": {
"*.ts": [
"npm run prettier:fix",
"npm run lint:fix",
"git add"
]
},
"dependencies": {},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@types/jest": "^24.0.19",
"@types/uuid": "^3.4.6",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"ts-jest": "^24.2.0",
"ts-loader": "^6.2.0",
"typescript": "^3.7.3",
"uuid": "^3.3.3",
"verdaccio": "^4.6.0",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"xhr-mock": "^2.5.1"
}
}