-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
77 lines (77 loc) · 2.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "tempus",
"version": "1.0.0-dev.0",
"description": "one rAF to rule them all",
"files": [
"dist"
],
"sideEffects": false,
"source": "src/index.js",
"main": "dist/tempus.js",
"umd:main": "dist/tempus.umd.js",
"module": "dist/tempus.mjs",
"types": "dist/types/index.d.ts",
"exports": {
"require": "./dist/tempus.js",
"types": "./dist/types/index.d.ts",
"default": "./dist/tempus.modern.mjs"
},
"scripts": {
"dev": "npm-run-all --parallel watch vite",
"watch": "microbundle watch -i src/ --o ./dist",
"vite": "vite",
"clean": "npm-run-all --parallel clean:bundled clean:dist",
"clean:bundled": "rimraf bundled",
"clean:dist": "rimraf dist",
"build": "npm-run-all --parallel clean build:dist build:types",
"build:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments ./src/index.js",
"build:dist": "microbundle build -i src/ --o ./dist",
"version:dev": "npm version prerelease --preid dev --force --no-git-tag-version",
"version:patch": "npm version patch --force --no-git-tag-version",
"version:minor": "npm version minor --force --no-git-tag-version",
"version:major": "npm version major --force --no-git-tag-version",
"postversion": "pnpm build && pnpm readme",
"publish:main": "npm publish",
"publish:dev": "npm publish --tag dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/darkroomengineering/tempus.git"
},
"keywords": [
"raf",
"ticker"
],
"author": "darkroom.engineering",
"license": "MIT",
"bugs": {
"url": "https://github.com/darkroomengineering/tempus/issues"
},
"homepage": "https://github.com/darkroomengineering/tempus",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/darkroomengineering"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.4",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.6",
"rimraf": "^4.4.0",
"typescript": "^5.0.2",
"vite": "^4.2.1"
},
"size-limit": [
{
"limit": "2 kB",
"path": "dist/index.js"
}
]
}