diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 900a0a6..0000000 --- a/.npmignore +++ /dev/null @@ -1,11 +0,0 @@ -# see what'll be included with `npm pack --dry-run` - -/examples -/src -/types -/package - -/tsconfig* -/*.js -/*.gif -/.* diff --git a/package.json b/package.json index 3e3bcba..8069e82 100644 --- a/package.json +++ b/package.json @@ -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",