-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.12 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": "broccoli-and-carrots",
"version": "0.0.0-semantic-release",
"description": "Data structures and algorithms in TypeScript",
"homepage": "https://github.com/joshuagraber/broccoli-and-carrots#readme",
"bugs": {
"url": "https://github.com/joshuagraber/broccoli-and-carrots/issues"
},
"exports": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"main": "dist/cjs/index.js",
"license": "MIT",
"author": "Joshua D. Graber <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/joshuagraber/broccoli-and-carrots.git"
},
"scripts": {
"build": "run-s clean:build && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && npm run build:package",
"build:package": "sh ./scripts/set_package_type.sh",
"clean": "run-p clean:*",
"clean:build": "rimraf dist",
"clean:test": "rimraf coverage",
"commit": "npx git-cz",
"lint": "eslint --ignore-path .gitignore src --ext .ts .",
"lint-and-fix": "eslint src --ext .ts --fix",
"test": "run-s clean:test && jest --config jest.config.js --maxWorkers=1",
"test:ci": "test --watchAll=false"
},
"prepublish": "npm run build",
"devDependencies": {
"@jest/globals": "^29.6.4",
"@types/jest": "^29.5.3",
"@types/lodash": "^4.14.197",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.47.0",
"eslint-config-standard-with-typescript": "^38.0.0",
"jest": "^29.6.3",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.2",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"files": [
"dist",
"src",
"README.md"
],
"engines": {
"node": ">=18"
}
}