Skip to content

Commit 10ea49e

Browse files
authored
Fix/remove examples and docs from package (#2557)
* Fix #2337: remove `examples` and `docs` from npm package * Add `directories` property but only with the directories that are still in the npm package
1 parent ef0c625 commit 10ea49e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

package.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@
127127
"files": [
128128
"bin",
129129
"dist",
130-
"docs",
131130
"lib",
132-
"examples",
133131
"main",
134132
"types",
135133
"number.cjs",
@@ -139,6 +137,10 @@
139137
"HISTORY.md",
140138
"CONTRIBUTING.md"
141139
],
140+
"directories": {
141+
"bin": "./bin",
142+
"lib": "./lib"
143+
},
142144
"scripts": {
143145
"build": "gulp --gulpfile gulpfile.cjs && npm run update-authors",
144146
"build-and-test": "npm run build && npm run test:all && npm run lint",
@@ -171,13 +173,6 @@
171173
"bugs": {
172174
"url": "https://github.com/josdejong/mathjs/issues"
173175
},
174-
"directories": {
175-
"doc": "./docs",
176-
"example": "./examples",
177-
"lib": "./lib",
178-
"src": "./src",
179-
"test": "./test"
180-
},
181176
"browserslist": [
182177
"IE 11"
183178
],

0 commit comments

Comments
 (0)