-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
81 lines (81 loc) · 2.55 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
{
"name": "atomic",
"author": "stagas",
"short": "stagas/atomic",
"description": "makes a function atomic with timeout and abort signal",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://git@github.com:stagas/atomic.git"
},
"keywords": [
"atomic",
"promise",
"concurrency",
"timeout",
"signal",
"abort",
"race-conditions"
],
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build:watch": "tsc --outDir dist/esm --module esnext --watch",
"cov:watch": "jest --coverage --watchAll",
"test": "npm run test:node && npm run test:web",
"test:node": "jest",
"test:web": "web-test-runner",
"cov": "jest --coverage",
"docs": "documentation readme src --resolve=node --pe ts --re ts --re d.ts --github --section=API --markdown-toc-max-depth=3",
"build": "npm run build:cjs && npm run build:esm && echo done.",
"build:cjs": "tsc --outDir dist/cjs",
"build:esm": "tsc --outDir dist/esm --module esnext && echo '{\"type\":\"module\"}' >dist/esm/package.json",
"build:min": "esbuild src/index.ts --bundle --format=esm | terser --compress --module --mangle -o build.min.js",
"lint": "eslint src && prettier --check src",
"lint:fix": "eslint --fix src && prettier --write src",
"clean": "rimraf dist",
"prepack": "npm run clean && npm run build",
"prepack:dry": "npm pack --dry-run",
"prepare": "husky install"
},
"devDependencies": {
"@n1kk/intspector": "^1.0.2",
"@rollup/plugin-commonjs": "^21.0.1",
"@stagas/documentation-fork": "^13.2.5",
"@stagas/sucrase-jest-plugin": "^2.2.0-fork",
"@swc-node/jest": "^1.4.3",
"@tsconfig/node16": "^1.0.2",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@web/dev-server-esbuild": "^0.2.16",
"@web/dev-server-rollup": "^0.3.14",
"@web/test-runner": "^0.13.25",
"esbuild": "^0.14.11",
"esbuild-register": "^3.3.2",
"eslint": "^8.7.0",
"eslint-config-html-jsx": "^1.0.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"jest": "^27.4.7",
"jest-browser-globals": "^25.1.0-beta",
"onchange": "^7.1.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"terser": "^5.10.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
}
}