dna-api 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dna-api might be problematic. Click here for more details.
- package/build.ts +10 -0
- package/dist/index.d.ts +355 -0
- package/dist/index.js +42 -0
- package/dist/index.js.map +57 -0
- package/package.json +47 -0
- package/src/index.ts +832 -0
- package/tsconfig.build.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dna-api",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "dna bbs api",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "pa001024",
|
|
7
|
+
"url": "https://github.com/pa001024",
|
|
8
|
+
"email": "pa001024@qq.com"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"module": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
"bun": "./dist/index.js",
|
|
15
|
+
"node": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.js",
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"default": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"dna",
|
|
23
|
+
"api"
|
|
24
|
+
],
|
|
25
|
+
"homepage": "https://github.com/pa001024/dna-builder",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "://github.com/pa001024/dna-builder"
|
|
29
|
+
},
|
|
30
|
+
"bugs": "://github.com/pa001024/dna-builder/issues",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"scripts": {
|
|
33
|
+
"test": "bun test && npm run test:types",
|
|
34
|
+
"test:types": "tsc --project tsconfig.test.json",
|
|
35
|
+
"build": "rimraf dist && bun build.ts && tsc --project tsconfig.build.json",
|
|
36
|
+
"release": "npm run build && npm publish --access public",
|
|
37
|
+
"trace": "tsc --generateTrace ./trace --incremental false"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"node-forge": "^1.3.1"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/node": "^25.0.3",
|
|
44
|
+
"rimraf": "6.1.2",
|
|
45
|
+
"typescript": "^5.1.6"
|
|
46
|
+
}
|
|
47
|
+
}
|