-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
83 lines (83 loc) · 2.38 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
82
83
{
"name": "measurement-toolkit",
"version": "1.0.0-beta.1",
"description": "Math and Conversion for Weight and Measurement Units",
"main": "dist/index.js",
"module": "lib/esm/index.js",
"types": "dist/index.d.ts",
"files": [
"bundle",
"dist",
"esm",
"src"
],
"scripts": {
"lint": "npx eslint src/** test/**",
"test": "npx mocha --require ts-node/register --recursive ./**/*.spec.ts",
"test:coverage": "npx nyc --reporter=text --reporter=text-summary npm test",
"docs": "npx typedoc --readme none --plugin typedoc-plugin-markdown --excludePrivate --excludeProtected --out docs ./src/**/*.ts",
"build": "npm run build:clean && npm run build:cjs && npm run build:esm && npm run build:bundle",
"build:clean": "rimraf ./dist/* && rimraf ./lib/*",
"build:cjs": "tsc -p tsconfig.json",
"build:cjs:watch": "tsc -p tsconfig.json -w",
"build:esm": "tsc -p tsconfig.esm.json",
"build:esm:watch": "tsc -p tsconfig.esm.json -w",
"build:bundle": "rollup -c",
"build:bundle:watch": "rollup -c -w"
},
"repository": {
"type": "git",
"url": "https://github.com/baspeeters/measurement-toolkit.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"avoirdupois",
"convert",
"converter",
"conversion",
"imperial",
"kilograms",
"length",
"mass",
"measurement",
"metric",
"speed",
"time",
"troy",
"unit converter",
"units",
"us customary",
"weight",
"yard"
],
"author": "Bas Peeters <[email protected]>",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/baspeeters/measurement-toolkit/issues"
},
"homepage": "https://github.com/baspeeters/measurement-toolkit#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-typescript": "^11.1.5",
"@types/chai": "^4.3.6",
"@types/mocha": "^10.0.2",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"chai": "^4.3.10",
"eslint": "^8.51.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"rifraf": "^2.0.3",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.2.2"
}
}