-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
116 lines (116 loc) · 4.05 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
{
"name": "@feedsnetwork/feeds-js-sdk",
"version": "1.0.1",
"description": "FeedsNetwork social media NFT SDK",
"exports": {
"node": "./dist/feeds-sdk.js",
"browser": {
"import": "./dist/es/feeds-sdk.browser.js"
}
},
"main": "./dist/feeds-sdk.js",
"module": "./dist/es/feeds-sdk.js",
"typings": "typings/",
"browser": {
"./dist/feeds-sdk.js": "./dist/feeds-sdk.browser.js",
"./dist/es/feeds-sdk.js": "./dist/es/feeds-sdk.browser.js"
},
"scripts": {
"prepublishOnly": "npm run build",
"lint": "eslint",
"build": "npm run build:release",
"build:debug": "npm run clean && npm run types && rollup -c",
"build:release": "npm run clean && npm run types && rollup -c --environment prodbuild",
"dev": "rollup -c -w",
"clean": "rm -rf dist/ typings/ generated/",
"types": "npm run clean && tsc --emitDeclarationOnly --outDir typings/ --project tsconfig.types.json",
"tsc:build": "rollup -c",
"tsc:w": "tsc -w",
"docs": "npx typedoc src/index.ts --excludePrivate --excludeProtected --excludeInternal",
"test": "jest",
"test:node": "JEST_CIRCUS=1 jest --silent=false --verbose --runInBand --config jest.node.config.ts",
"test:node:debug": "JEST_CIRCUS=1 node --inspect-brk node_modules/.bin/jest --runInBand --config jest.node.config.ts",
"test:node-no-jest": "rollup -c rollup.no-jest.config.js && node generated/tests-no-jest.js",
"test:browser": "npm run clean && rollup -c rollup.browsertests.config.js",
"test:node:profile": "JEST_CIRCUS=1 node --prof --no-logfile-per-isolate ./node_modules/.bin/jest --silent=false --verbose --runInBand --config jest.node.config.ts -- crypto/hdkey.test && node --prof-process v8.log > processed.log && echo '' && echo 'Please open processed.log'. && echo ''"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elastos-trinity/feeds-js-sdk.git"
},
"files": [
"dist",
"typings"
],
"include": [
"typings",
"dist"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/elastos-trinity/feeds-js-sdk/issues"
},
"homepage": "https://github.com/elastos-trinity/feeds-js-sdk#readme",
"dependencies": {
"@elastosfoundation/did-js-sdk": "^2.2.12",
"@elastosfoundation/hive-js-sdk": "2.9.2",
"spark-md5": "^3.0.2"
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-decorators": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/preset-typescript": "7.15.0",
"@rollup/plugin-alias": "3.1.8",
"@rollup/plugin-commonjs": "19.0.2",
"@rollup/plugin-eslint": "8.0.1",
"@rollup/plugin-inject": "4.0.3",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.0.6",
"@rollup/plugin-replace": "3.0.0",
"@rollup/plugin-typescript": "8.3.0",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"babel-jest": "^27.5.1",
"eslint": "8.23.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "26.9.0",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"jest-environment-node": "^26.6.2",
"jest-html-reporter": "^3.4.1",
"jest-lite": "^1.0.0-alpha.4",
"rollup": "2.63.0",
"rollup-plugin-analyzer": "4.0.0",
"rollup-plugin-copy-assets": "2.0.3",
"rollup-plugin-css-only": "3.1.0",
"rollup-plugin-multi-input": "1.3.1",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-serve": "1.1.0",
"rollup-plugin-size": "0.2.2",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript": "1.0.1",
"rollup-plugin-typescript2": "0.30.0",
"rollup-plugin-visualizer": "5.5.2",
"ts-jest": "^26.5.6",
"typedoc": "^0.23.20",
"typescript": "4.6.3"
},
"directories": {
"test": "tests"
},
"lint-staged": {
"src/**/*.{js,ts,tsx}": [
"eslint"
],
"tests/src/**/*.{js,ts,tsx}": [
"eslint"
]
},
"keywords": []
}