Skip to content

Commit

Permalink
update publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
amitguptagwl committed Oct 2, 2019
1 parent e5f3d17 commit ba550fb
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ static
index.html
webpack*
lib
temp*
temp*
*todo.md
CONTRIBUTING.md
BACKERS.md
CHANGELOG.md
4 changes: 2 additions & 2 deletions .publishrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"validations": {
"vulnerableDependencies": true,
"uncommittedChanges": true,
"untrackedFiles": true,
"untrackedFiles": false,
"sensitiveData": {
"ignore": [
"*todo.md"
Expand All @@ -14,6 +14,6 @@
"confirm": true,
"publishCommand": "npm publish",
"publishTag": "latest",
"prePublishScript": "npm run bundle test",
"prePublishScript": "npm test",
"postPublishScript": false
}
147 changes: 147 additions & 0 deletions .sensitivedata
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
# Inspired from :
# https://github.com/github/gitignore
# https://github.com/inikulin/dmn
# https://github.com/bahmutov/ban-sensitive-files

#-----------------------
# Benchmark Files
#-----------------------
benchmark/**
**/benchmark/**
benchmarks/**
**/benchmarks/**

#-----------------------
# Configuration files
#-----------------------
# CI
.travis.yml
appveyor.yml
**/appveyor.yml

# eslint
.eslintrc
.eslintrc.json
.eslintrc.yaml
.eslintrc.yml

# GitHub
.github/**

# JetBrains
.idea/**/*
**/.idea/**/*

# Visual Studio Code
.vscode/**
**/.vscode/**

#-----------------------
# Coverage Files
#-----------------------
# Coverage directory used by tools like istanbul
coverage/**
**/coverage/**

#-----------------------
# Demo Files
#-----------------------
demo/**
**/demo/**
demos/**
**/demos/**

#-----------------------
# Dependency directories
#-----------------------
node_modules/**
**/node_modules/**
jspm_packages/**
**/jspm_packages/**

#-----------------------
# Doc Files
#-----------------------
doc/**
**/doc/**
docs/**
**/docs/**

#-----------------------
# Example Files
#-----------------------
example/**
**/example/**
examples/**
**/examples/**

#-----------------------
# Log Files
#-----------------------
*.log
logs/**
**/logs/**
*.eventlog
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.svclog

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
UpgradeLog*.XML
UpgradeLog*.htm

# MSBuild Binary and Structured Log
*.binlog

#-----------------------
# Private SSH keys
#-----------------------
*_rsa
*_rsa.*
!*_rsa.pub
*_dsa
*_dsa.*
!*_dsa.pub

#-----------------------
# Script Files
#-----------------------
scripts/**
**/scripts/**

#-----------------------
# Secret files
#-----------------------
*.key

#-----------------------
# src Files
#-----------------------
#src/**
#**/src/**

#-----------------------
# Temp Files
#-----------------------
tmp/**
**/tmp/**
temp/**
**/temp/**

#-----------------------
# Test Files
#-----------------------
tests/**
**/tests/**
test/**
**/test/**
*.spec.js
*.spec.ts

#-----------------------
# zip files
#-----------------------
# Output of 'npm pack'
*.tgz

0 comments on commit ba550fb

Please sign in to comment.