Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Fabrizio Ruggeri
caravaggio
Commits
cbe8d468
Commit
cbe8d468
authored
Jun 10, 2020
by
Fabrizio Ruggeri
Browse files
Include only needed file in npm package
parent
baf9f5fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
.npmignore
.npmignore
+9
-0
package.json
package.json
+2
-2
No files found.
.npmignore
View file @
cbe8d468
...
...
@@ -7,3 +7,12 @@ __mocks__/
ignoreme.*
/caravaggio
.gitlab-ci.yml
src_OLD/
test_OLD
dist/config/local.*
/src
Dockerfile
DOCKER_README.md
.*
jest.config.js
tsconfig.json
package.json
View file @
cbe8d468
{
"name"
:
"caravaggio"
,
"version"
:
"3.0.0-beta.
1
"
,
"version"
:
"3.0.0-beta.
2
"
,
"description"
:
"A blazing fast image processor service"
,
"main"
:
"dist/index.js"
,
"types"
:
"dist/index.d.ts"
,
...
...
@@ -10,7 +10,7 @@
"scripts"
:
{
"start"
:
"NODE_ENV=production node dist/server"
,
"dev"
:
"NODE_ENV=development tsnd --respawn src/server.ts"
,
"build"
:
"rimraf dist/ && NODE_ENV=production tsc --build"
,
"build"
:
"rimraf
-G
dist/ && NODE_ENV=production tsc --build"
,
"prepublish"
:
"npm run build"
,
"test"
:
"npm run lint && npm run test-only -- --coverage --colors=false"
,
"test-only"
:
"NODE_ENV=test jest"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment