This commit is contained in:
Cat /dev/Nulo 2021-11-15 18:59:07 -03:00
parent 6ecb366919
commit e55b84feba
5 changed files with 11 additions and 7 deletions

2
.gitignore vendored
View file

@ -1,2 +1,2 @@
build/ dist/
node_modules/ node_modules/

0
.npmignore Normal file
View file

View file

@ -82,4 +82,4 @@
</form> </form>
</section> </section>
<script type="module" src="../build/demo/demo.js"></script> <script type="module" src="../dist/demo/demo.js"></script>

View file

@ -1,10 +1,11 @@
{ {
"name": "hyperpop", "name": "@suttyweb/hyperpop",
"version": "0.0.0", "version": "0.1.0",
"description": "Un cliente de API de https://github.com/TangoSoftware/ApiTiendas", "description": "Un cliente de API de https://github.com/TangoSoftware/ApiTiendas",
"main": "index.js", "license": "SEE LICENSE IN LICENSE",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"prepublish": "tsc",
"watch-build": "tsc --watch", "watch-build": "tsc --watch",
"format": "prettier --write .", "format": "prettier --write .",
"check-format": "prettier --check .", "check-format": "prettier --check .",
@ -19,7 +20,8 @@
"api" "api"
], ],
"author": "Sutty <hi@sutty.nl>", "author": "Sutty <hi@sutty.nl>",
"license": "SEE LICENSE IN LICENSE", "main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": { "devDependencies": {
"prettier": "^2.4.1", "prettier": "^2.4.1",
"typescript": "^4.4.3" "typescript": "^4.4.3"

View file

@ -6,7 +6,7 @@
"module": "es6", "module": "es6",
"moduleResolution": "node", "moduleResolution": "node",
"outDir": "./build", "outDir": "./dist",
"allowJs": false, "allowJs": false,
@ -15,6 +15,8 @@
"strict": true, "strict": true,
"declaration": true,
"skipLibCheck": true "skipLibCheck": true
} }
} }