-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
96 lines (96 loc) · 2.76 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
{
"name": "web-component",
"version": "1.0.26",
"description": "Lightweight library providing interface for building web components",
"browser": "dist/web-component.js",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"dist",
"lib",
"es",
"src"
],
"scripts": {
"clean": "rimraf lib dist es coverage",
"lint": "eslint src test build",
"test": "cross-env BABEL_ENV=commonjs jest",
"test:watch": "yarn test -- --watch",
"test:cov": "yarn test -- --coverage",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/web-component.js",
"build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/web-component.min.js",
"build": "yarn run build:commonjs && yarn run build:es && yarn run build:umd && yarn run build:umd:min",
"prepare": "yarn run build",
"prebuild": "yarn run clean",
"posttest": "yarn run lint",
"preversion": "yarn test",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "https://github.com/vardius/web-component.git"
},
"keywords": [
"web",
"component",
"components",
"webcomponent",
"web-component",
"webcomponents",
"web-components"
],
"authors": [
"Rafał Lorenz <[email protected]> (https://github.com/vardius)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/vardius/web-component/issues"
},
"homepage": "http://rafallorenz/web-component",
"npmName": "web-component",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
],
"browserify": {
"transform": [
"loose-envify"
]
},
"jest": {
"testRegex": "(/test/.*\\.spec.js)$"
},
"dependencies": {},
"devDependencies": {
"babel-cli": "^6.3.15",
"babel-core": "^6.25.0",
"babel-eslint": "^8.0.2",
"babel-jest": "^21.2.0",
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
"babel-plugin-transform-es3-property-literals": "^6.5.0",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.3.13",
"check-es3-syntax-cli": "^0.2.0",
"cross-env": "^5.0.1",
"eslint": "^4.2.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.7.0",
"glob": "^7.1.2",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"rimraf": "^2.3.4",
"rollup": "^0.51.6",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1"
}
}