изменил blacklist-инг на whitelist-инг публикуемых файлов в NPM

This commit is contained in:
vgoma 2020-07-04 08:46:04 +03:00
parent 733449d20c
commit a5552b5065
2 changed files with 5 additions and 11 deletions

View File

@ -1,11 +0,0 @@
# see what'll be included with `npm pack --dry-run`
/examples
/src
/types
/package
/tsconfig*
/*.js
/*.gif
/.*

View File

@ -4,6 +4,11 @@
"description": "API для взаимодействия с КриптоПро",
"main": "./lib/crypto-pro.js",
"types": "./lib/crypto-pro.d.ts",
"files": [
"lib/**/*",
"dist/**/*",
"bower.json"
],
"scripts": {
"clean": "rimraf dist lib package coverage",
"start": "cross-env TS_CONFIG=tsconfig-es5.json webpack --watch",