Skip to content

Commit

Permalink
bibliotheque
Browse files Browse the repository at this point in the history
  • Loading branch information
arzafran committed Aug 25, 2022
1 parent 2716368 commit 43630e4
Show file tree
Hide file tree
Showing 8 changed files with 706 additions and 3,608 deletions.
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion main.js → docs/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { raf } from './src/index.mjs'
import { raf } from '../dist/index.mjs'
import './style.css'

function onFrame(time, deltaTime) {
Expand Down
File renamed without changes.
43 changes: 33 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,42 @@
{
"name": "@studio-freight/tempus",
"version": "0.0.25",
"sideEffects": false,
"type": "module",
"main": "src/index.mjs",
"description": "one rAF to rule them all",
"files": ["dist"],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"scripts": {
"dev": "vite",
"dev": "vite docs",
"size": "size-limit",
"clean": "rimraf dist",
"build": "vite build",
"preview": "vite preview"
"prebuild": "npm run clean",
"preversion": "npm run build",
"postversion": "git push --follow-tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/studio-freight/tempus.git"
},
"keywords": [],
"author": "@studio-freight",
"license": "ISC",
"bugs": {
"url": "https://github.com/studio-freight/tempus/issues"
},
"homepage": "https://github.com/studio-freight/tempus#readme",
"devDependencies": {
"microbundle": "^0.15.0",
"vite": "^2.9.9"
"@size-limit/preset-small-lib": "^8.0.1",
"nanoid": "^4.0.0",
"path": "^0.12.7",
"rimraf": "^3.0.2",
"size-limit": "^8.0.1",
"vite": "^3.0.9"
},
"dependencies": {
"nanoid": "^4.0.0"
}
"size-limit": [
{
"limit": "2 kB",
"path": "dist/index.js"
}
]
}
Loading

0 comments on commit 43630e4

Please sign in to comment.