Skip to content

Commit 89358f5

Browse files
authored
Specify files to pack into tarball (#8)
1 parent a1ada50 commit 89358f5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22
"name": "@microsoft/feature-management",
33
"version": "1.0.0-preview",
44
"description": "Feature Management is a library for enabling/disabling features at runtime. Developers can use feature flags in simple use cases like conditional statement to more advanced scenarios like conditionally adding routes.",
5-
"main": "index.js",
5+
"main": "dist/index.js",
6+
"module": "./dist-esm/index.js",
7+
"types": "types/index.d.ts",
8+
"files": [
9+
"dist/**/*.js",
10+
"dist/**/*.map",
11+
"dist/**/*.d.ts",
12+
"dist-esm/**/*.js",
13+
"dist-esm/**/*.map",
14+
"dist-esm/**/*.d.ts",
15+
"types/**/*.d.ts",
16+
"LICENSE",
17+
"README.md"
18+
],
619
"scripts": {
720
"build": "npm run clean && npm run build-cjs && npm run build-esm && npm run build-test",
821
"build-cjs": "rollup --config",

0 commit comments

Comments
 (0)