-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.78 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.78 KB
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
{
"name": "vhtml",
"amdName": "vhtml",
"version": "3.0.0",
"description": "Hyperscript reviver that constructs a sanitized HTML string.",
"jsnext:main": "dist/vhtml.es.js",
"source": "src/vhtml.ts",
"module": "dist/vhtml.es.js",
"esmodules": "dist/vhtml.modern.js",
"main": "dist/vhtml.js",
"umd:main": "dist/vhtml.umd.js",
"typings": "dist/vhtml.d.ts",
"scripts": {
"test": "npm-run-all --silent typecheck lint testonly",
"testonly": "mocha --require ts-node/register --require tsconfig-paths/register test/**/*.tsx",
"lint": "eslint src test --ext tsx --ext ts --ext jsx --ext js",
"typecheck": "tsc --noEmit",
"bundle": "microbundle && cp src/jsx.d.ts dist/jsx.d.ts && rimraf dist/empty-tags.d.ts",
"build": "npm run clean && npm run bundle",
"clean": "rimraf dist",
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"files": [
"src",
"dist"
],
"keywords": [
"hyperscript",
"html",
"renderer",
"strings"
],
"repository": {
"type": "git",
"url": "git+https://github.com/developit/vhtml.git"
},
"author": "Jason Miller <jason@developit.ca>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developit/vhtml/issues"
},
"homepage": "https://github.com/developit/vhtml",
"eslintConfig": {
"extends": [
"developit",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
},
"env": {
"browser": true,
"mocha": true,
"jest": false,
"es6": true
},
"globals": {
"expect": true
},
"settings": {
"react": {
"pragma": "h",
"version": "16.13"
}
},
"rules": {
"semi": [
2,
"always"
],
"jest/valid-expect": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-empty-interface": 0,
"react/no-danger": 0,
"react/self-closing-comp": 0
}
},
"eslintIgnore": [
"dist"
],
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^3.0.1",
"@typescript-eslint/parser": "^3.0.1",
"chai": "^3.5.0",
"eslint": "^7.2.0",
"eslint-config-developit": "^1.2.0",
"microbundle": "^0.12.0",
"mocha": "^8.0.1",
"npm-run-all": "^2.3.0",
"rimraf": "^3.0.2",
"ts-node": "^8.10.2",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.9.3"
}
}