-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 1.95 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
62
{
"name": "@softstack/typed-stringify",
"version": "3.0.1",
"description": "@softstack/typed-stringify is a library designed to serialize and deserialize JavaScript objects while preserving their original types.",
"author": "Softstack GmbH <hello@softstack.io> (https://softstack.io)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/chainsulting/typed-stringify.git"
},
"homepage": "https://github.com/chainsulting/typed-stringify#readme",
"keywords": [
"json",
"serialize",
"serializer",
"stringify"
],
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
},
"files": [
"dist/**/*",
"src/**/*"
],
"scripts": {
"test": "jest --config jestconfig.json --no-cache",
"format": "prettier --write \"./**/*.{cjs,js,json,mjs,ts}\"",
"lint": "eslint ./src",
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"build:clean": "rm -rf ./dist",
"build": "npm run build:clean && npm run compile && rm -f ./dist/*/*.tsbuildinfo && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm test && npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/lodash": "^4.17.24",
"@types/node": "^24.13.3",
"bignumber.js": "^11.1.5",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-unicorn": "^72.0.0",
"globals": "^17.8.0",
"jest": "^30.4.2",
"lodash": "^4.18.1",
"prettier": "^3.9.6",
"prettier-plugin-organize-imports": "^4.3.0",
"ts-jest": "^29.4.12",
"typescript": "^5.9.3",
"typescript-eslint": "^8.65.0"
}
}