keyframekit 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/KeyframeKit.min.js +6 -0
- package/dist/KeyframeKit.min.js.map +1 -0
- package/docs/docs/get-started.md +6 -0
- package/docs/package-lock.json +2321 -0
- package/docs/package.json +6 -6
- package/docs/typedoc.config.js +2 -2
- package/package.json +9 -4
- package/rollup.config.js +43 -0
- /package/docs/typedoc/{plugin-markdown-fix.js → plugin-markdown-mdn-links-fix.js} +0 -0
package/docs/package.json
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"reference": "typedoc",
|
|
9
9
|
"playground:bumplib": "mkdir -p ./docs/public/playground/KeyframeKit && cp -r ../dist ./docs/public/playground/KeyframeKit/"
|
|
10
10
|
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"vitepress": "^2.0.0-alpha.16",
|
|
13
|
+
"vue": "^3.5.28",
|
|
14
|
+
"@monaco-editor/loader": "^1.7.0"
|
|
15
|
+
},
|
|
11
16
|
"devDependencies": {
|
|
12
17
|
"typedoc": "^0.28.17",
|
|
13
18
|
"typedoc-plugin-markdown": "^4.10.0",
|
|
14
19
|
"typedoc-plugin-mdn-links": "^5.1.1",
|
|
15
|
-
"typedoc-plugin-no-inherit": "^1.6.1"
|
|
16
|
-
"vitepress": "^2.0.0-alpha.16",
|
|
17
|
-
"vue": "^3.5.28"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"@monaco-editor/loader": "^1.7.0"
|
|
20
|
+
"typedoc-plugin-no-inherit": "^1.6.1"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/docs/typedoc.config.js
CHANGED
|
@@ -5,11 +5,11 @@ export default {
|
|
|
5
5
|
"name": "KeyframeKit",
|
|
6
6
|
|
|
7
7
|
"plugin": [
|
|
8
|
-
"typedoc-plugin-mdn-links",
|
|
9
8
|
"typedoc-plugin-markdown",
|
|
9
|
+
"typedoc-plugin-mdn-links",
|
|
10
10
|
"typedoc-plugin-no-inherit",
|
|
11
11
|
"./typedoc/plugin-param-names.js",
|
|
12
|
-
"./typedoc/plugin-markdown-fix.js",
|
|
12
|
+
"./typedoc/plugin-markdown-mdn-links-fix.js",
|
|
13
13
|
//"typedoc-plugin-inline-sources",
|
|
14
14
|
//"typedoc-plugin-remark",
|
|
15
15
|
//"typedoc-github-wiki-theme",
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keyframekit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Unlock fine-grained control over your CSS animations with JavaScript.",
|
|
5
5
|
"main": "./dist/KeyframeKit.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "
|
|
7
|
+
"build": "tsc && rollup -c rollup.config.js",
|
|
8
8
|
"docs:bump": "(cd docs && npm run bump)",
|
|
9
9
|
"docs:build": "(cd docs && npm run build)"
|
|
10
10
|
},
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"animation",
|
|
20
20
|
"keyframe",
|
|
21
21
|
"stylesheet",
|
|
22
|
-
"framework",
|
|
23
22
|
"tools",
|
|
24
23
|
"performance",
|
|
25
24
|
"typescript"
|
|
@@ -31,7 +30,13 @@
|
|
|
31
30
|
"url": "https://github.com/benhatsor/KeyframeKit/issues"
|
|
32
31
|
},
|
|
33
32
|
"homepage": "https://keyframekit.berryscript.com",
|
|
33
|
+
"type": "module",
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"typescript": "^5.9.3"
|
|
35
|
+
"typescript": "^5.9.3",
|
|
36
|
+
"rollup": "^4.59.0",
|
|
37
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
38
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
39
|
+
"tslib": "^2.8.1",
|
|
40
|
+
"magic-string": "^0.30.21"
|
|
36
41
|
}
|
|
37
42
|
}
|
package/rollup.config.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import typescript from '@rollup/plugin-typescript';
|
|
2
|
+
import terser from '@rollup/plugin-terser';
|
|
3
|
+
|
|
4
|
+
import MagicString from 'magic-string';
|
|
5
|
+
|
|
6
|
+
function header() {
|
|
7
|
+
|
|
8
|
+
return {
|
|
9
|
+
|
|
10
|
+
renderChunk( code ) {
|
|
11
|
+
|
|
12
|
+
code = new MagicString( code );
|
|
13
|
+
|
|
14
|
+
code.prepend( `/*
|
|
15
|
+
* KeyframeKit
|
|
16
|
+
* MIT License
|
|
17
|
+
*/\n` );
|
|
18
|
+
|
|
19
|
+
return {
|
|
20
|
+
code: code.toString(),
|
|
21
|
+
map: code.generateMap()
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {import('rollup').RollupOptions}
|
|
32
|
+
*/
|
|
33
|
+
export default {
|
|
34
|
+
input: {
|
|
35
|
+
'KeyframeKit.min.js': 'src/KeyframeKit.ts'
|
|
36
|
+
},
|
|
37
|
+
output: {
|
|
38
|
+
dir: 'dist',
|
|
39
|
+
entryFileNames: '[name]',
|
|
40
|
+
sourcemap: true
|
|
41
|
+
},
|
|
42
|
+
plugins: [typescript(), terser(), header()]
|
|
43
|
+
};
|
|
File without changes
|