-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
55 lines (55 loc) · 1.7 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
{
"name": "swc-registry",
"version": "2.0.11",
"description": "Javascript library for accessing SWC-registry content.",
"repository": "SmartContractSecurity/SWC-registry-javascript",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"swc-cli": "lib/cli.js"
},
"keywords": [
"swcregistry",
"npm",
"package"
],
"files": [
"lib/cli.js",
"lib/index.js",
"lib/index.d.ts",
"lib/swc-definition.json"
],
"devDependencies": {
"@types/fs-extra": "^9.0.12",
"@types/jest": "^26.0.24",
"@types/node": "^12.20.15",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"ts-jest": "^27.0.3",
"typescript": "^4.3.5"
},
"scripts": {
"assets:copy": "cp src/swc-definition.json lib/ && cp README.md lib/",
"clean": "rm -rf lib/",
"transpile": "tsc",
"build": "npm run clean && npm run transpile && npm run assets:copy",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "eslint src/ __tests__/ --ext=ts",
"lint:fix": "eslint src/ __tests__/ --ext=ts --fix",
"swc:update": "node lib/cli.js --update && cp lib/swc-definition.json src/",
"test": "jest",
"prepare": "npm run build",
"prepublishOnly": "npm test"
},
"author": "ersul4ik",
"license": "MIT",
"dependencies": {
"axios": "^0.21.0",
"fs-extra": "^9.0.1"
}
}