-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.26 KB
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
{
"name": "touch-pad",
"version": "1.0.0",
"description": "Track drags and touches on an element, a bit like a touchpad or trackpad",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./define": {
"types": "./dist/types/define.d.ts",
"import": "./dist/esm/define.js",
"require": "./dist/cjs/define.js",
"default": "./dist/esm/define.js"
}
},
"files": [
"dist",
"src"
],
"type": "module",
"scripts": {
"prebuild": "npm run clean",
"build": "concurrently -c auto 'npm:build:*'",
"build:cjs": "tsc -p tsconfig.build.json --module commonjs --moduleResolution node --outDir dist/cjs",
"build:dts": "tsc -p tsconfig.build.json --declaration --declarationMap --emitDeclarationOnly --outDir dist/types",
"build:esm": "tsc -p tsconfig.build.json --outDir dist/esm",
"postbuild:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"clean": "del *.tsbuildinfo coverage dist",
"lint": "eslint *.ts src",
"prepack": "npm run build",
"prepare": "is-ci || husky",
"test": "vitest run",
"test:watch": "vitest",
"tscc": "tsc --noEmit",
"verify": "concurrently -c cyan,magenta,blue npm:lint npm:test npm:tscc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/limulus/touch-pad.git"
},
"author": {
"name": "Eric McCarthy",
"email": "eric@limulus.net",
"url": "https://limulus.net/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/limulus/touch-pad/issues"
},
"homepage": "https://github.com/limulus/touch-pad#readme",
"dependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@limulus/eslint-config": "^5.0.0",
"@vitest/browser": "^1.6.0",
"@vitest/coverage-istanbul": "^1.6.0",
"concurrently": "^8.2.2",
"del-cli": "^5.1.0",
"eslint": "^8.52.0",
"husky": "^9.0.11",
"is-ci": "^3.0.1",
"mkdirp": "^3.0.1",
"semantic-release": "^22.0.5",
"typescript": "^5.2.2",
"vitest": "^1.6.0"
}
}