Skip to content

Commit 29bf995

Browse files
Merge pull request #536 from magento-obsessive-owls/MC-35150
Fix static tests
2 parents 669b741 + 1284d51 commit 29bf995

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
"ts:lint": "tslint --fix --project .",
1212
"ts:defs": "node ./dev/dts-generator.js",
1313
"ts:build": "babel app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/ --out-dir app/code/Magento/PageBuilder/view/adminhtml/web/js/ --extensions '.ts,.tsx' --source-maps",
14+
"ts:build:banner": "babel app/code/Magento/BannerPageBuilder/view/adminhtml/web/ts/js/ --out-dir app/code/Magento/BannerPageBuilder/view/adminhtml/web/js/ --extensions '.ts,.tsx' --source-maps",
1415
"ts:watch": "npm run ts:build -- --watch",
16+
"ts:watch:banner": "npm run ts:build:banner -- --watch",
1517
"stylelint": "stylelint '**/*.css' '**/*.less'",
16-
"start": "concurrently -n 'compiler,errors' -c 'green,red' 'npm run ts:watch' 'npm run ts:errors:watch'"
18+
"start": "concurrently -n 'compiler,errors' -c 'green,red' 'npm run ts:watch' 'npm run ts:watch:banner' 'npm run ts:errors:watch'"
1719
},
1820
"repository": {
1921
"type": "git",

tsconfig.json

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"Magento_PageBuilder/*": ["app/code/Magento/PageBuilder/view/adminhtml/web/ts/*"]
6+
},
37
"strictNullChecks": false,
48
"module": "esnext",
59
"target": "es2015",

0 commit comments

Comments
 (0)