Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/scratch-gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"default": "./dist/scratch-gui-standalone.js"
}
},
"files": ["dist", "src"],
"scripts": {
"build": "npm run clean && BUILD_TYPE=dev webpack && BUILD_TYPE=dist webpack && BUILD_TYPE=dist-standalone webpack",
"clean": "rimraf ./build ./dist",
Expand All @@ -31,7 +32,7 @@
"i18n:src": "rimraf ./translations/messages/src && babel src > tmp.js && rimraf tmp.js && build-i18n-src ./translations/messages/src ./translations/",
"start": "webpack serve",
"test": "npm run test:lint && npm run test:unit && npm run build && npm run test:integration",
"test:integration": "cross-env JEST_JUNIT_OUTPUT_NAME=integration-tests-results.xml jest --maxWorkers=2 test[\\\\/]integration",
"test:integration": "cross-env JEST_JUNIT_OUTPUT_NAME=integration-tests-results.xml jest --maxWorkers=4 test[\\\\/]integration",
"test:lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"test:unit": "cross-env JEST_JUNIT_OUTPUT_NAME=unit-tests-results.xml jest test[\\\\/]unit",
"test:smoke": "jest --runInBand test[\\\\/]smoke",
Expand Down
2 changes: 2 additions & 0 deletions packages/scratch-render/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"type": "git",
"url": "https://github.com/scratchfoundation/scratch-editor.git"
},
"main": "./dist/node/scratch-render.js",
"exports": {
"webpack": "./src/index.js",
"browser": "./dist/web/scratch-render.js",
"node": "./dist/node/scratch-render.js",
"default": "./src/index.js"
},
"files": ["dist", "src"],
"scripts": {
"build": "webpack --progress",
"docs": "jsdoc -c .jsdoc.json",
Expand Down
1 change: 1 addition & 0 deletions packages/scratch-svg-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"node": "./dist/node/scratch-svg-renderer.js",
"default": "./src/index.js"
},
"files": ["dist", "src"],
"scripts": {
"build": "npm run clean && webpack",
"clean": "rimraf ./dist",
Expand Down
1 change: 1 addition & 0 deletions packages/scratch-vm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"node": "./dist/node/scratch-vm.js",
"default": "./src/index.js"
},
"files": ["dist", "src"],
"scripts": {
"build": "npm run docs && webpack --progress",
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
Expand Down
Loading