-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 3.98 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "@paneron/libmmel",
"version": "0.2.1",
"description": "MMEL library",
"repository": "https://github.com/paneron/libmmel",
"author": {
"name": "Ribose Inc.",
"email": "[email protected]"
},
"src_dir": "src",
"dist_dir": "dist",
"scripts": {
"prepare": "ts-patch install -s ; husky install",
"diagnose": "tsc --diagnostics",
"typecheck": "tsc -p tsconfig.build.json --noEmit --pretty",
"build:decl": "tsc -p tsconfig.types.json",
"build": "concurrently pnpm:build:cjs pnpm:build:mjs",
"build:mjs": "swc ${npm_package_src_dir} --sync --config module.type=es6 --out-dir ${npm_package_dist_dir}/mjs --copy-files --extensions '.ts,.tsx,.js,.jsx,.json' && pnpm run postbuild:mjs",
"build:cjs": "swc ${npm_package_src_dir} --sync --config module.type=commonjs --out-dir ${npm_package_dist_dir}/cjs --copy-files --extensions '.ts,.tsx,.js,.jsx,.json'",
"postbuild:mjs": "echo '{\"type\": \"module\"}'> ${npm_package_dist_dir}/mjs/package.json",
"tsc": "tsc -p tsconfig.build.json && cp package.json ${npm_package_dist_dir}/",
"dist": "concurrently pnpm:build pnpm:build:decl",
"build-typecheck": "concurrently pnpm:build pnpm:typecheck",
"clean-build": "pnpm run clean; pnpm run build",
"clean-build-typecheck": "pnpm run clean; pnpm run build-typecheck",
"lint": "eslint ${npm_package_src_dir}/ --ext .ts,.tsx",
"clean": "rimraf ${npm_package_dist_dir}/* *.tsbuildinfo",
"test:dist": "./scripts/test-dist",
"test": "jest",
"test:watch": "jest --watch",
"lint-typecheck": "concurrently npm:lint npm:typecheck",
"bump": "pnpm version --message \"chore: Release v%s\n\nCommand used: pnpm bump %s\" --new-version ",
"bump:dev": "pnpm version --new-version prerelease --preid dev --message \"chore: Release v%s\n\nCommand used: pnpm bump:dev\"",
"fix": "pnpm run lint --fix"
},
"files": [
"dist"
],
"main": "main.js",
"types": "main.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/types/*"
]
}
},
"exports": {
".": {
"types": "./dist/types/main.d.ts",
"import": "./dist/mjs/main.js",
"require": "./dist/cjs/main.js"
},
"./interface/*": {
"types": "./dist/types/interface/*.d.ts",
"import": "./dist/mjs/interface/*.js",
"require": "./dist/cjs/interface/*.js"
},
"./handler/*": {
"types": "./dist/types/handler/*.d.ts",
"import": "./dist/mjs/handler/*.js",
"require": "./dist/cjs/handler/*.js"
},
"./util/*": {
"types": "./dist/types/util/*.d.ts",
"import": "./dist/mjs/util/*.js",
"require": "./dist/cjs/util/*.js"
},
"./*": {
"types": "./dist/types/*.d.ts",
"import": "./dist/mjs/*.js",
"require": "./dist/cjs/*.js"
}
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@commitlint/cz-commitlint": "^17.7.1",
"@commitlint/types": "^17.4.4",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.68",
"@swc/helpers": "^0.5.1",
"@swc/jest": "^0.2.26",
"@types/jest": "^29.5.1",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"commitizen": "^4.3.0",
"concurrently": "^8.0.1",
"eslint": "^8.40.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"fast-check": "^3.8.2",
"husky": "^8.0.3",
"inquirer": "8",
"jest": "^29.5.0",
"mkdirp": "^3.0.1",
"prop-types": "^15.8.1",
"rimraf": "^5.0.1",
"run-script-os": "^1.1.6",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"ts-patch": "^3.0.2",
"tsconfig-paths": "^4.2.0",
"typescript": "5.1.6",
"typescript-transform-paths": "^3.4.6"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"license": "MIT",
"pnpm": {
"overrides": {
"@babel/traverse@<7.23.2": ">=7.23.2"
}
}
}