-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
181 changed files
with
20,906 additions
and
43,722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Run tests | ||
on: [push, pull_request] | ||
jobs: | ||
unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 14.15.4 | ||
- name: install | ||
run: npm install | ||
working-directory: ./packages/scenejs | ||
- name: lint | ||
run: npm run lint | ||
working-directory: ./packages/scenejs | ||
- name: test | ||
run: npm run coverage | ||
working-directory: ./packages/scenejs | ||
- name: Coveralls GitHub Action | ||
uses: coverallsapp/[email protected] | ||
with: | ||
path-to-lcov: ./packages/scenejs/coverage/lcov.info | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "independent", | ||
"lernaHelperOptions": { | ||
"deployFileMap": [ | ||
{ | ||
"basePath": "packages/moveable/dist", | ||
"dists": [ | ||
"demo/release/{{version}}/dist", | ||
"demo/release/latest/dist" | ||
] | ||
}, | ||
{ | ||
"basePath": "doc", | ||
"dists": [ | ||
"demo/release/{{version}}/doc", | ||
"demo/release/latest/doc" | ||
] | ||
} | ||
], | ||
"beforeReleaseScripts": [ | ||
"npm run packages:build", | ||
"npm run demo:build", | ||
"npm run deploy" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "demo", | ||
"description": "Scene.js demo", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/daybrush/scenejs.git" | ||
}, | ||
"keywords": [ | ||
"scene", | ||
"scene.js", | ||
"scenejs", | ||
"keyframes", | ||
"timeline", | ||
"animate", | ||
"animation", | ||
"css", | ||
"requestAnimationFrame", | ||
"motion" | ||
], | ||
"author": "Daybrush", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/daybrush/scenejs/issues" | ||
}, | ||
"homepage": "https://daybrush.com/scenejs", | ||
"scripts": { | ||
"build": "rm -rf ../../demo/dist && rollup -c rollup.config.js" | ||
}, | ||
"dependencies": { | ||
"@daybrush/utils": "^1.7.0", | ||
"@daybrush/page": "^0.2.0", | ||
"shape-svg": "^0.3.1", | ||
"scenejs": "~1.6.0" | ||
}, | ||
"devDependencies": { | ||
"@daybrush/builder": "^0.1.2", | ||
"typescript": "^4.5.0 <4.6.0", | ||
"rollup-plugin-css-bundle": "^1.0.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import builder from "@daybrush/builder"; | ||
import cssbundle from "rollup-plugin-css-bundle"; | ||
|
||
export default builder([ | ||
{ | ||
input: './src/index/index.ts', | ||
output: "../../demo/dist/index.js", | ||
format: "iife", | ||
exports: "named", | ||
plugins: [cssbundle({output: "../../demo/dist/index.css"})], | ||
resolve: true, | ||
uglify: true, | ||
}, | ||
{ | ||
input: './src/features/index.ts', | ||
output: "../../demo/dist/features.js", | ||
format: "iife", | ||
exports: "named", | ||
plugins: [cssbundle({output: "../../demo/dist/features.css"})], | ||
resolve: true, | ||
uglify: true, | ||
}, | ||
]); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.