-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
110 lines (110 loc) · 3.97 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
{
"name": "rmrk-tools",
"version": "2.1.13",
"description": "Suite of libraries implementing RMRK.app specs",
"repository": {
"type": "git",
"url": "https://github.com/Swader/rmrk-tools"
},
"main": "dist/index.cjs",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"exports": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs"
},
"files": [
"dist",
"dist-cli"
],
"scripts": {
"build": "tsc && yarn build:es && yarn build:cjs && yarn build:cli",
"build:es": "rollup --config ./config/rollup.js",
"build:cjs": "rollup --config ./config/rollup-cjs.js",
"build:cli": "tsc --project tsconfig.cli-dist.json",
"clean": "rm -rf build",
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet",
"lint:fix": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"cli:fetch": "NODE_OPTIONS='--max-old-space-size=38000' ts-node --project tsconfig.cli.json cli/fetch.ts",
"cli:consolidate": "NODE_OPTIONS='--max-old-space-size=38000' ts-node --project tsconfig.cli.json cli/consolidate",
"cli:seed": "ts-node --project tsconfig.cli.json cli/seed",
"cli:getevents": "ts-node --project tsconfig.cli.json cli/getevents",
"cli:validate": "ts-node --project tsconfig.cli.json src/validate",
"cli:run-listener": "ts-node --project tsconfig.cli.json cli/run-listener.ts",
"cli:metadata": "ts-node --project tsconfig.cli.json cli/metadata.ts",
"test": "yarn test:1.0.0 && yarn test:2.0.0",
"test:1.0.0": "jest test/1.0.0 --silent --config=jest.config.1.0.0.js",
"test:2.0.0": "jest test/2.0.0 --silent --config=jest.config.2.0.0.js",
"test:1.0.0:watch": "jest --watch",
"test:2.0.0:watch": "jest test/2.0.0 --watch --config=jest.config.2.0.0.js",
"test:coverage": "jest --coverage --coverageDirectory='coverage'",
"prepublishOnly": "yarn build"
},
"bin": {
"rmrk-tools-fetch": "./dist-cli/cli/fetch.js",
"rmrk-tools-consolidate": "./dist-cli/cli/consolidate.js",
"rmrk-tools-seed": "./dist-cli/cli/seed.js",
"rmrk-tools-validate": "./dist-cli/cli/validate.js",
"rmrk-tools-metadata": "./dist-cli/cli/metadata.js"
},
"author": "Bruno Skvorc <[email protected]>",
"license": "GPL-3.0",
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@pinata/sdk": "^1.1.13",
"@polkadot/api": "^11.2.1",
"@polkadot/keyring": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-randomvalues": "^12.6.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-strip": "^3.0.2",
"@types/emoji-regex": "^9.2.0",
"@types/jest": "^29.4.0",
"@types/node": "^16.10.0",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"arg": "^5.0.0",
"babel-jest": "^29.5.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-security": "^1.4.0",
"ipfs-core": "^0.5.4",
"jest": "^29.5.0",
"prettier": "^2.1.2",
"process": "^0.11.10",
"rollup": "^2.66.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"webpack": "^5.24.3",
"webpack-cli": "^4.5.0"
},
"dependencies": {
"@polkadot/api-augment": "^11.2.1",
"JSONStream": "^1.3.5",
"chalk": "^4.1.0",
"emoji-regex": "^9.2.2",
"isomorphic-fetch": "^3.0.0",
"it-all": "^1.0.5",
"json-stream-stringify": "^3.1.1",
"nanoid": "^3.1.23",
"superstruct": "^0.14.2",
"uint8arrays": "^2.1.3",
"winston": "^3.3.3"
},
"peerDependency": {
"@polkadot/api": "^11.x",
"@polkadot/keyring": "^12.x",
"@polkadot/util-crypto": "^12.x",
"@polkadot/util": "^12.x"
}
}