-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
119 lines (119 loc) · 5.26 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "waitasecond",
"version": "1.11.117",
"description": "Waitasecond is a javascript library that makes managing async code and Promises simple and elegant. It provides an await-like API that can be used in the browser, worker, and node environment, making it a powerful tool for any project. Additionally, the library is fully typed, allowing developers to have complete confidence in the reliability of their code. With Waitasecond, developers can easily and reliably handle any asynchronous task with ease.",
"sideEffects": false,
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
"exports": {
".": "./dist/main.js",
"./forAllImagesInElement": "./dist/functions/forAllImagesInElement.js",
"./forAnimationFrame": "./dist/functions/forAnimationFrame.js",
"./forDocumentLoad": "./dist/functions/forDocumentLoad.js",
"./forDOMContentLoaded": "./dist/functions/forDOMContentLoaded.js",
"./forEver": "./dist/functions/forEver.js",
"./forImmediate": "./dist/functions/forImmediate.js",
"./forTime": "./dist/functions/forTime.js",
"./forTimeout": "./dist/functions/forTimeout.js",
"./forTimeSynced": "./dist/functions/forTimeSynced.js",
"./forValueDefined": "./dist/functions/forValueDefined.js"
},
"typesVersions": {
"*": {
"./forAllImagesInElement": [
"./dist/functions/forAllImagesInElement.d.ts"
],
"./forAnimationFrame": [
"./dist/functions/forAnimationFrame.d.ts"
],
"./forDocumentLoad": [
"./dist/functions/forDocumentLoad.d.ts"
],
"./forDOMContentLoaded": [
"./dist/functions/forDOMContentLoaded.d.ts"
],
"./forEver": [
"./dist/functions/forEver.d.ts"
],
"./forImmediate": [
"./dist/functions/forImmediate.d.ts"
],
"./forTime": [
"./dist/functions/forTime.d.ts"
],
"./forTimeout": [
"./dist/functions/forTimeout.d.ts"
],
"./forTimeSynced": [
"./dist/functions/forTimeSynced.d.ts"
],
"./forValueDefined": [
"./dist/functions/forValueDefined.d.ts"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/hejny/waitasecond"
},
"author": "Pavol Hejný",
"license": "Apache-2.0",
"scripts": {
"test": "npm run test-unit && npm run test-integration",
"test-unit": "jest --config jestconfig.json",
"test-integration": "",
"--TODO--test-integration": "./node_modules/.bin/cypress run",
"test-integration-interactive": "./node_modules/.bin/cypress open",
"samples-server": "ts-node-dev --project ./samples/samplesServer/tsconfig.json ./samples/samplesServer/samplesServer.ts",
"build": "tsc",
"build-watch": "tsc --watch",
"prettier": "prettier --config .prettierrc --write \"{src,test,.vscode}/**/*.{ts,json}\"",
"pretty-imports": "npx organize-imports-cli tsconfig.json",
"prettier-commit": "git diff --exit-code && npm run pretty-imports && npm run prettier && git add src && git commit --allow-empty -m \"Prettier\"",
"generate-documentation": "typedoc",
"generate-documentation-commit": "git diff --exit-code && npm run generate-documentation && git add docs && git commit --allow-empty -m \"Documentation\"",
"lint": "tslint -p tsconfig.json",
"generate-main-exports": "ts-node --project ./scripts/generate-main-exports/tsconfig.json ./scripts/generate-main-exports/generate-main-exports.ts",
"generate-main-exports-commit": "git diff --exit-code && npm run generate-main-exports && npm run prettier && git add src && git commit --allow-empty -m \"Updating exports\"",
"preversion": "npm run lint && npm test && npm run generate-main-exports-commit && npm run build && npm run prettier-commit",
"postversion": "npm run generate-documentation-commit && git push && git push --tags && npm publish"
},
"dependencies": {
"ts-essentials": "8.1.0"
},
"devDependencies": {
"@types/cypress-image-snapshot": "3.1.6",
"@types/express": "4.17.13",
"@types/jest": "27.0.1",
"@types/serve-index": "1.9.1",
"codecov": "3.8.3",
"cypress": "8.4.0",
"express": "4.17.1",
"express-throttle-bandwidth": "1.0.1",
"glob-promise": "4.2.0",
"jest": "27.2.0",
"onchange": "7.1.0",
"open": "8.2.1",
"organize-imports-cli": "0.8.0",
"prettier": "2.4.0",
"serve-index": "1.9.1",
"serve-static": "1.14.1",
"ts-jest": "27.0.5",
"ts-node": "10.2.1",
"ts-node-dev": "1.1.8",
"tslint": "5.20.1",
"tslint-config-prettier": "1.18.0",
"typedoc": "0.22.11",
"typescript": "4.4.3"
},
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/hejny"
},
{
"type": "github",
"url": "https://github.com/hejny/waitasecond/blob/main/README.md#%EF%B8%8F-contributing"
}
]
}