-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
81 lines (81 loc) · 3.02 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
{
"name": "safe-units",
"description": "Type-safe TypeScript units of measure",
"keywords": [
"units",
"measure",
"dimension",
"metric",
"typescript",
"typesafe"
],
"version": "2.0.1",
"license": "MIT",
"homepage": "https://github.com/jscheiny/safe-units",
"bugs": "https://github.com/jscheiny/safe-units/issues",
"repository": {
"type": "git",
"url": "https://github.com/jscheiny/safe-units.git"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"files": [
"dist"
],
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"build": "yarn run build:cjs && yarn run build:esm",
"clean": "rimraf dist docs/build",
"compile:docs": "tsc -p docsgen",
"compile:examples": "tsc -p docs/examples",
"docs": "npm-run-all -s compile:docs compile:examples node:docs readme",
"docs:watch": "npm-run-all -s compile:docs compile:examples node:docs:watch",
"lint:docs": "eslint --config eslint.config.mjs docsgen",
"lint:examples": "eslint --config eslint.config.mjs docs/examples",
"lint:dist": "./scripts/check-typings.sh",
"lint:readme": "node dist/docsgen/readme --check",
"lint:src": "eslint --config eslint.config.mjs src",
"lint:test": "eslint --config eslint.config.mjs test",
"lint": "npm-run-all -p lint:docs lint:examples lint:src lint:dist lint:readme lint:test",
"node:docs": "node dist/docsgen/index",
"node:docs:watch": "node dist/docsgen/watch",
"readme": "node dist/docsgen/readme",
"test:src": "jest --config jest.config.ts",
"test:types": "tsc -p test",
"test": "npm-run-all -p test:src test:types",
"prepack": "yarn clean && yarn build",
"verify": "npm-run-all -s build test docs lint"
},
"devDependencies": {
"@eslint/js": "^9.2.0",
"@stylistic/eslint-plugin-ts": "^2.1.0",
"@types/commonmark": "^0.27.9",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@types/react-dom": "^16.0.11",
"commonmark": "^0.31.0",
"eslint": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"highlight.js": "^11.9.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"rimraf": "^5.0.7",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.9.0",
"typestyle": "^2.4.0"
}
}