@tweenjs/tween.js 18.6.3 → 19.0.0
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 +2 -4
- package/dist/tween.amd.js +98 -42
- package/dist/tween.cjs.js +98 -42
- package/dist/tween.d.ts +64 -133
- package/dist/tween.esm.js +98 -42
- package/dist/tween.umd.js +98 -42
- package/package.json +9 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tweenjs/tween.js",
|
|
3
3
|
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "19.0.0",
|
|
5
5
|
"main": "dist/tween.cjs.js",
|
|
6
6
|
"types": "dist/tween.d.ts",
|
|
7
7
|
"module": "dist/tween.esm.js",
|
|
@@ -25,24 +25,28 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"scripts": {
|
|
28
|
+
"dev": "(npm run tsc-watch -- --preserveWatchOutput & p1=$!; npm run rollup-build -- --watch & p2=$!; wait $p1 $p2)",
|
|
28
29
|
"build": "rimraf dist .tmp && node scripts/write-version.js && npm run tsc && npm run rollup-build",
|
|
29
30
|
"rollup-build": "rollup -c ./rollup.config.js",
|
|
30
31
|
"tsc": "tsc",
|
|
31
32
|
"tsc-watch": "tsc --watch",
|
|
32
33
|
"examples": "npx serve .",
|
|
33
|
-
"test": "npm run build && npm run test-
|
|
34
|
+
"test": "npm run build && npm run test-lint && npm run test-unit",
|
|
34
35
|
"test-unit": "nodeunit test/unit/nodeunitheadless.js",
|
|
35
36
|
"test-lint": "npm run prettier -- --check && eslint 'src/**/*.ts'",
|
|
36
37
|
"lint": "npm run prettier -- --write && eslint 'src/**/*.ts' --fix",
|
|
37
38
|
"prettier": "prettier './**/*.{js,ts,md,json,html,css}'",
|
|
38
39
|
"prepare": "npm run build",
|
|
39
40
|
"version": "npm test && git add .",
|
|
40
|
-
"release:patch": "npm version patch --message 'v%s' && npm publish &&
|
|
41
|
-
"release:minor": "npm version minor --message 'v%s' && npm publish &&
|
|
42
|
-
"release:major": "npm version major --message 'v%s' && npm publish &&
|
|
41
|
+
"release:patch": "npm version patch --message 'v%s' && npm publish && npm run _release:push-branch",
|
|
42
|
+
"release:minor": "npm version minor --message 'v%s' && npm publish && npm run _release:push-branch",
|
|
43
|
+
"release:major": "npm version major --message 'v%s' && npm publish && npm run _release:push-branch",
|
|
44
|
+
"_release:push-branch": "git push --follow-tags --set-upstream origin `git rev-parse --abbrev-ref HEAD`"
|
|
43
45
|
},
|
|
44
46
|
"author": "tween.js contributors (https://github.com/tweenjs/tween.js/graphs/contributors)",
|
|
45
47
|
"devDependencies": {
|
|
48
|
+
"@sinonjs/fake-timers": "^6.0.1",
|
|
49
|
+
"@types/sinonjs__fake-timers": "^6.0.2",
|
|
46
50
|
"@typescript-eslint/eslint-plugin": "^3.1.0",
|
|
47
51
|
"@typescript-eslint/parser": "^3.1.0",
|
|
48
52
|
"eslint": "^7.1.0",
|