chore: add main file

This commit is contained in:
Juan Picado @jotadeveloper 2019-04-04 21:54:35 +02:00
parent bc6d25c0c4
commit 1708e1bcc4
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
3 changed files with 14 additions and 2 deletions

7
.npmignore Normal file
View File

@ -0,0 +1,7 @@
## npm
/*
!/static/*
!index.js

5
index.js Normal file
View File

@ -0,0 +1,5 @@
const path = require('path');
module.exports = () => {
return path.join(__dirname, 'static');
}

View File

@ -1,5 +1,5 @@
{ {
"name": "ui", "name": "@verdaccio/ui-theme",
"version": "0.0.1", "version": "0.0.1",
"description": "Verdaccio User Interface", "description": "Verdaccio User Interface",
"author": { "author": {
@ -9,7 +9,7 @@
"type": "git", "type": "git",
"url": "git://github.com/verdaccio/ui" "url": "git://github.com/verdaccio/ui"
}, },
"main": "build/index.js", "main": "index.js",
"devDependencies": { "devDependencies": {
"@commitlint/cli": "7.5.2", "@commitlint/cli": "7.5.2",
"@commitlint/config-conventional": "7.5.0", "@commitlint/config-conventional": "7.5.0",