-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 2.16 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
{
"name": "cow-list",
"version": "2.1.0",
"description": "Copy-on-write iterable list",
"keywords": [
"cow",
"list",
"rope",
"search",
"tree",
"versioning"
],
"author": "Victorien Elvinger (victorien.elvinger.fr)",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Conaclos/cow-list.git"
},
"bugs": {
"url": "https://github.com/Conaclos/cow-list/issues"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"type": "module",
"types": "dist/",
"main": "dist/index.cjs",
"module": "dist/index.js",
"es2015": "dist/index.js",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"sideEffects": false,
"files": [
"dist/*.cjs",
"dist/*.d.ts",
"dist/*.js",
"dist/**/*.d.ts",
"dist/**/*.js",
"!dist/**/*.test.js",
"!dist/**/*.spec.js"
],
"scripts": {
"build": "npm run build:dts && npm run build:esm && npm run build:cjs",
"build:dts": "tsc --build src && cp dist/index.d.ts dist/index.d.cts",
"build:esm": "esbuild --log-level=warning --outdir=dist src/*/*.ts src/*.ts",
"build:cjs": "esbuild --bundle --platform=node src/index.ts > dist/index.cjs",
"check": "npm run check:types && npm run check:format && npm run check:lint",
"check:format": "prettier --loglevel=warn --check src *.json *.md",
"check:lint": "denolint src",
"check:types": "tsc --build src/tsconfig-test.json",
"clean": "rm -rf coverage dist",
"prepare": "validate-commit-msg",
"prepublishOnly": "npm run clean && npm test",
"pretest": "npm run build",
"test": "npm run check && npm run test:units",
"test:units": "oletus dist/**/*.spec.js dist/**/*.test.js",
"coverage": "c8 --reporter=lcovonly npm test",
"preversion": "grep --quiet Unreleased CHANGELOG*",
"version": "sed --in-place s/Unreleased/$npm_package_version/ CHANGELOG*; git add CHANGELOG*"
},
"devDependencies": {
"@node-rs/deno-lint": "^1.13.1",
"esbuild": "^0.14.43",
"fast-check": "^3.0.0",
"oletus": "3.3.0",
"prettier": "2.6.2",
"typescript": "4.7.3",
"validate-commit-message": "3.2.0"
}
}