forked from jscheiny/safe-units
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.16 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.16 KB
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
{
"name": "@fractorysolutions/safe-units",
"description": "Type-safe TypeScript units of measure",
"keywords": [
"units",
"measure",
"dimension",
"metric",
"typescript",
"typesafe"
],
"version": "1.2.3",
"license": "MIT",
"homepage": "https://github.com/fractorysolutions/safe-units",
"bugs": "https://github.com/fractorysolutions/safe-units/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/fractorysolutions/safe-units.git"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "npm-run-all -s codegen compile:src",
"clean": "rimraf dist codegen/dist",
"codegen": "npm-run-all -s compile:codegen node:codegen",
"compile:codegen": "tsc -p codegen",
"compile:src": "tsc -p src",
"format": "prettier --write \"src/**/*.{ts,json}\" \"test/**/*.{ts,json}\"",
"lint": "npm-run-all lint:codegen lint:src format",
"lint:codegen": "eslint -c codegen/.eslintrc.cjs --fix \"codegen/**/*.ts\"",
"lint:src": "eslint -c src/.eslintrc.cjs --fix \"src/**/*.ts\"",
"node:codegen": "node codegen/dist/emit",
"test": "jest --config jest.config.json",
"prepack": "npm run clean && npm run build",
"verify": "npm-run-all -s build lint test"
},
"devDependencies": {
"@types/commonmark": "^0.27.9",
"@types/highlight.js": "^9.12.3",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.0",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"commonmark": "^0.30.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"highlight.js": "^11.9.0",
"jest": "^29.7.0",
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"typescript": "~5.3.3",
"typestyle": "^2.4.0"
}
}