Skip to content

Commit 01d3e5b

Browse files
authored
Merge pull request #1528 from ThatOpen/Fix-Licenses
Update package.json
2 parents 9e64218 + 7377486 commit 01d3e5b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "ifc loading on the web",
55
"module": "./web-ifc-api.js",
66
"main": "./web-ifc-api-node.js",
7+
"license": "MPL-2.0",
78
"exports": {
89
".": {
910
"require": "./web-ifc-api-node.js",
@@ -24,7 +25,7 @@
2425
"build-cleanup": "rimraf dist/helpers/log.ts && rimraf dist/helpers/properties.ts && rimraf dist/web-ifc-api.ts && rimraf dist/ifc-schema.ts",
2526
"build-debug": "npm run build-wasm-debug && npm run build-api && npm run build-cleanup",
2627
"publish-repo": "npm run set-version && cd dist && npm publish",
27-
"build-publish-repo": "npm run build-release && cpy ./npmrc ./dist/ --rename=.npmrc && cd dist && npm publish",
28+
"build-publish-repo": "npm run build-release && cpy ./npmrc ./dist/ --rename=.npmrc && cp ./LICENSE.md ./dist && cd dist && npm publish",
2829
"copy-to-dist": "make-dir dist && cpy \"src/cpp/build_wasm/*.js\" dist && cpy \"src/cpp/build_wasm/*.wasm\" dist ",
2930
"copy-debug-to-dist": "make-dir dist && cpy \"src/cpp/build_wasm_debug/*.js\" dist && cpy \"src/cpp/build_wasm_debug/*.wasm\" dist ",
3031
"build-wasm-debug": "make-dir src/cpp/build_wasm_debug && cd src/cpp/build_wasm_debug && emcmake cmake .. -DEMSCRIPTEN=true -DCMAKE_BUILD_TYPE=Debug && emmake make && npm run copy-debug-to-dist",
@@ -61,7 +62,8 @@
6162
"ifc-schema.d.ts",
6263
"helpers/properties.d.ts",
6364
"helpers/log.d.ts",
64-
"web-ifc-mt.worker.js"
65+
"web-ifc-mt.worker.js",
66+
"LICENSE.md"
6567
],
6668
"devDependencies": {
6769
"@types/jest": "^30.0.0",

0 commit comments

Comments
 (0)