-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
52 lines (52 loc) · 1.49 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
{
"name": "ml-random",
"version": "2.0.0",
"description": "Choose randomly from a selection of elements",
"main": "lib/index.js",
"module": "lib-esm/index.js",
"types": "lib/index.d.ts",
"files": [
"src",
"lib",
"lib-esm"
],
"scripts": {
"clean": "rimraf lib lib-esm",
"check-types": "tsc --noEmit",
"eslint": "eslint --cache ./src",
"eslint-fix": "npm run eslint -- --fix",
"prepack": "npm run tsc",
"prettier": "prettier --check src",
"prettier-write": "prettier --write src",
"test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types",
"test-only": "vitest run --coverage",
"tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm",
"tsc-cjs": "tsc --project tsconfig.cjs.json",
"tsc-esm": "tsc --project tsconfig.esm.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mljs/random.git"
},
"keywords": [],
"author": "Daniel Kostro",
"license": "MIT",
"bugs": {
"url": "https://github.com/mljs/random/issues"
},
"homepage": "https://github.com/mljs/random#readme",
"dependencies": {
"ml-xsadd": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@vitest/coverage-v8": "^2.1.4",
"eslint": "^9.14.0",
"eslint-config-cheminfo-typescript": "^16.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
}
}