Skip to content

Commit 584eb81

Browse files
author
fabianmoronzirfas
committed
minor changes for testing PR
1 parent cfff305 commit 584eb81

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Diff for: .eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"no-console": 0,
2424
"max-len": [2, 90, 4],
2525
"semi": [2, "always"],
26-
"indent": [ 2, "tab" ]
26+
"indent": [ 2 ]
2727
},
2828
"parser": "babel-eslint",
2929
"environment": {

Diff for: package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
"clean:dist": "rm -rf ./test/dist ; mkdir ./test/dist",
1313
"compile:test:illustrator": "node ./index.js -s test/src/illustrator.js -o test/dist/illustrator.js -t 'illustrator'",
1414
"compile:test:indesign": "node ./index.js -s test/src/indesign.js -o test/dist/indesign.js -t 'indesign'",
15+
"compile:test:indesign-basil": "./node_modules/.bin/exsbundlr -i test/src/indesign-basil.js -o test/dist/indesign-basil.bundle.js & node ./index.js -s test/dist/indesign-basil.bundle.js -o test/dist/indesign-basil.js",
1516
"compile:test:aftereffects": "node ./index.js -s test/src/aftereffects.js -o test/dist/aftereffects.js -t 'aftereffects'",
1617
"compile:test:photoshop": "node ./index.js -s test/src/photoshop.js -o test/dist/photoshop.js -t 'photoshop'",
17-
"compile:test:all": "npm run compile:test:illustrator & npm run compile:test:indesign & npm run compile:test:aftereffects & npm run compile:test:photoshop",
18+
"compile:test:all": "npm run compile:test:illustrator & npm run compile:test:indesign & npm run compile:test:indesign-basil & npm run compile:test:aftereffects & npm run compile:test:photoshop",
1819
"test": "npm run clean:dist ; npm run compile:test:all ; npm run clean:temp",
1920
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
2021
},
@@ -57,6 +58,7 @@
5758
"babel-eslint": "^6.0.4",
5859
"commitizen": "^2.8.1",
5960
"cz-conventional-changelog": "^1.1.6",
61+
"extendscript-bundlr": "^0.3.1",
6062
"semantic-release": "^4.3.5"
6163
},
6264
"config": {

Diff for: test/src/indesign.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* globals app, $, SaveOptions */
12
import * as lib from './libs/lib';
23

34
lib.write(`Hello World ${lib.calc()} ${lib.something}`);
5+
let doc = app.documents.add();
6+
doc.pages[0].textFrames.add({geometricBounds: [0,0,100,100],contents:'Hello ID'});
7+
$.sleep(1000);
8+
doc.close(SaveOptions.NO);

0 commit comments

Comments
 (0)