-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.18 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.18 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
{
"name": "webcomponent-react",
"version": "1.0.0",
"description": "Sample project to demonstrate CustomElement wrapping for React Components",
"main": "react-poster-custom-element-wrapper.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"t_react": "terser lib/react-poster-widget.js -o lib/react-poster-widget.min.js -c -m",
"t_customEl": "terser lib/react-poster-custom-element-wrapper.js -o lib/react-poster-custom-element-wrapper.min.js -c -m",
"build": "babel src -d lib && npm run t_react && npm run t_customEl",
"serve":"npm run build && serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/subodhkumarWM/WebComponent-React.git"
},
"author": "Subodh Kumar",
"license": "ISC",
"bugs": {
"url": "https://github.com/subodhkumarWM/WebComponent-React/issues"
},
"homepage": "https://github.com/subodhkumarWM/WebComponent-React#readme",
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"serve": "^11.3.2",
"terser": "^5.3.8"
}
}