webcomp-ts
Version:
Base class for web components has basic boilerplate code to simplify custom element implementation
59 lines (58 loc) • 1.94 kB
JSON
{
"name": "webcomp-ts",
"version": "0.2.2",
"description": "Base class for web components has basic boilerplate code to simplify custom element implementation",
"main": "dist/web-comp.js",
"module": "dist/web-comp.js",
"types": "dist/web-comp.d.ts",
"files": [
"dist"
],
"author": "tomi vanek",
"license": "MIT",
"keywords": [
"dom",
"html",
"css",
"template",
"typescript",
"webcomponent",
"custom-element",
"htmlelement",
"fragment",
"shadowdom",
"no-framework"
],
"homepage": "https://github.com/tomi-vanek/webcomp-ts#readme",
"bugs": "https://github.com/tomi-vanek/webcomp-ts/issues",
"repository": "https://github.com/tomi-vanek/webcomp-ts",
"scripts": {
"start": "npm run watch",
"// LIFECYCLE": "----------------------------------",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm-run-all clean build",
"preversion": "npm-run-all clean build",
"// BUILD": "----------------------------------",
"build": "npm-run-all clean tsc copy:assets",
"copy:assets": "cpx -Cv \"./src/**/*.{html,css,svg,png,jpg,jpeg,ico}\" ./dist",
"clean": "rm -rf lib",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.ts\"",
"tsc": "tsc --project ./tsconfig.json",
"lint": "tslint --project ./tslint.json",
"serve": "http-server . -c-1 -p 8888",
"// WATCH": "----------------------------------",
"watch": "npm-run-all clean lint copy:assets tsc -p watch:*",
"watch:assets": "cpx -Cvw \"./src/**/*.{html,css,svg,png,jpg,jpeg,ico}\" ./dist",
"watch:tsc": "tsc --watch --project ./tsconfig.json",
"watch:serve": "live-server --open='./dist/example/index.html' --port=8888"
},
"dependencies": {},
"devDependencies": {
"cpx": "^1.5.0",
"live-server": "^1.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.0",
"tslint": "^5.16.0",
"typescript": "^3.4.5"
}
}