Skip to content

Commit f4fe51f

Browse files
committed
start typeing expressions api
1 parent f4ed618 commit f4fe51f

File tree

7 files changed

+806
-0
lines changed

7 files changed

+806
-0
lines changed

package-lock.json

Lines changed: 127 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "ebox",
3+
"version": "1.0.0",
4+
"description": "Create rectangles within After Effects expressions ",
5+
"main": "src/index.ts",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"tsc": "tsc",
9+
"build": "rollup -c",
10+
"watch": "rollup -cw",
11+
"release": "hub release create -a 'dist/eKeys.jsx"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/motiondeveloper/ebox.git"
16+
},
17+
"author": "Tim Haywood",
18+
"license": "MIT",
19+
"bugs": {
20+
"url": "https://github.com/motiondeveloper/ebox/issues"
21+
},
22+
"homepage": "https://github.com/motiondeveloper/ebox#readme",
23+
"devDependencies": {
24+
"@rollup/plugin-replace": "^2.3.3",
25+
"@rollup/plugin-typescript": "^5.0.2",
26+
"prettier": "^1.16.4",
27+
"rollup": "^2.23.1",
28+
"rollup-plugin-ae-jsx": "^1.0.1",
29+
"tslib": "^2.0.1",
30+
"typescript": "^3.9.7"
31+
}
32+
}

prettier.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
trailingComma: "es5",
3+
singleQuote: true,
4+
};

rollup.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import typescript from "@rollup/plugin-typescript";
2+
import afterEffectJsx from "rollup-plugin-ae-jsx";
3+
4+
export default {
5+
input: "src/index.ts",
6+
output: {
7+
file: "dist/eBox.jsx",
8+
format: "cjs",
9+
},
10+
plugins: [
11+
typescript({
12+
module: "esnext",
13+
target: "esnext",
14+
noImplicitAny: true,
15+
moduleResolution: "node",
16+
strict: true,
17+
lib: ["esnext"],
18+
}),
19+
afterEffectJsx(),
20+
],
21+
};

0 commit comments

Comments
 (0)