-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
66 lines (66 loc) · 1.51 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
{
"name": "preact-shadow-root",
"amdName": "Shadow",
"version": "1.0.2",
"description": "Render a Preact subtree into the Shadow DOM.",
"source": "preact-shadow-root.js",
"main": "dist/preact-shadow-root.js",
"module": "dist/preact-shadow-root.es.js",
"umd:main": "dist/preact-shadow-root.umd.js",
"scripts": {
"build": "microbundle",
"prepare": "npm run -s build",
"test": "eslint src && jest",
"release": "npm run -s prepare && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"eslintConfig": {
"extends": "eslint-config-developit",
"rules": {
"react/prefer-stateless-function": 0
}
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"babel": {
"presets": [
"env"
],
"plugins": [
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"files": [
"preact-shadow-root.js",
"dist"
],
"keywords": [
"preact",
"component",
"shadow root",
"shadow dom"
],
"author": "Jason Miller <jason@developit.ca>",
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^22.1.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"eslint": "^4.6.1",
"eslint-config-developit": "^1.1.1",
"jest": "^22.1.4",
"microbundle": "^0.3.1",
"preact": "^8.2.7"
},
"peerDependencies": {
"preact": "*"
}
}