-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.37 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
{
"name": "evaluatify",
"version": "1.1.0",
"description": "Transform anything into an executable script string, useful in `webview.evaluateJavascript(script)` cases.",
"keywords": [
"webview",
"bridge",
"JSC",
"JavascriptInterface",
"evaluateJavascript",
"eval",
"evaluate"
],
"files": [
"dist",
"README.md"
],
"main": "dist/lib/index.js",
"module": "dist/esm/index.js",
"scripts": {
"test": "jest --coverage",
"lint": "eslint ./src --ext .ts",
"build": "run-p test clean lint && run-p build:cjs build:esm",
"build:cjs": "tsc --module commonjs --declaration --outDir ./dist/lib",
"build:esm": "tsc --module esnext --declaration --outDir ./dist/esm",
"prepublishOnly": "npm run build",
"clean": "rm -rf dist"
},
"license": "ISC",
"devDependencies": {
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"eslint": "^7.32.0",
"eslint-config-alloy": "^4.2.0",
"husky": "4.3.8",
"jest": "^27.0.6",
"lint-staged": "9.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
},
"lint-staged": {
"*.{ts}": [
"eslint --fix",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {}
}