Comparing version 7.0.4 to 8.0.0-next.0
{ | ||
"name": "typeit", | ||
"version": "7.0.4", | ||
"version": "8.0.0-next.0", | ||
"description": "The most versatile animated typing utility on the planet.", | ||
"author": "Alex MacArthur <alex@macarthur.me> (https://macarthur.me)", | ||
"license": "GPL-2.0", | ||
"license": "GPL-3.0", | ||
"bugs": { | ||
@@ -11,16 +11,18 @@ "url": "https://github.com/alexmacarthur/typeit/issues" | ||
"homepage": "https://typeitjs.com", | ||
"main": "dist/typeit.min.js", | ||
"module": "dist/typeit.es.min.js", | ||
"main": "dist/index.umd.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/types.d.ts", | ||
"files": [ | ||
"dist/", | ||
"src/" | ||
"src/", | ||
"scripts/" | ||
], | ||
"scripts": { | ||
"rollup": "NODE_ENV=production rollup -c", | ||
"watch": "NODE_ENV=development rollup -c -w", | ||
"build": "npm run rollup", | ||
"serve": "concurrently --kill-others \"npm run watch\" \"node serve.js\"", | ||
"prettier": "prettier --write \"**/*.{md,js}\"", | ||
"build": "microbundle -i src/TypeIt.ts -o dist/index.js --name TypeIt --no-sourcemap && scripts/banner", | ||
"watch": "microbundle -i src/TypeIt.ts -o dist/index.js --name TypeIt --format umd --no-sourcemap watch", | ||
"start": "concurrently --kill-others \"npm run watch\" \"serve\"", | ||
"prettier": "prettier --write \"**/*.{md,js,ts}\"", | ||
"test": "jest", | ||
"postinstall": "node ./notice.js" | ||
"postinstall": "node ./scripts/notice.js", | ||
"prepare": "husky install" | ||
}, | ||
@@ -42,22 +44,12 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.8.7", | ||
"@babel/plugin-transform-spread": "^7.8.3", | ||
"@babel/preset-env": "^7.9.5", | ||
"babel-jest": "^25.4.0", | ||
"babel-loader": "^8.1.0", | ||
"babel-plugin-transform-async-to-promises": "^0.8.15", | ||
"concurrently": "^4.1.2", | ||
"express": "^4.17.1", | ||
"husky": "^3.1.0", | ||
"jest-canvas-mock": "^2.2.0", | ||
"jest-cli": "^25.4.0", | ||
"prepack": "^0.2.54", | ||
"prettier": "^1.19.1", | ||
"pretty-quick": "^2.0.1", | ||
"rollup": "^1.32.1", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-execute": "^1.1.1", | ||
"rollup-plugin-prepack": "^1.1.1", | ||
"rollup-plugin-terser": "^5.3.0" | ||
"@babel/preset-typescript": "^7.15.0", | ||
"concurrently": "^6.2.1", | ||
"husky": "^7.0.1", | ||
"jest": "^27.0.6", | ||
"jest-cli": "^27.0.6", | ||
"lint-staged": "^11.1.2", | ||
"microbundle": "^0.13.3", | ||
"prettier": "^2.3.2", | ||
"serve": "^12.0.0", | ||
"typescript": "^4.3.5" | ||
}, | ||
@@ -68,12 +60,11 @@ "jest": { | ||
], | ||
"setupFiles": [ | ||
"./__tests__/setup.js", | ||
"jest-canvas-mock" | ||
] | ||
"setupFilesAfterEnv": [ | ||
"./__tests__/setup.js" | ||
], | ||
"testEnvironment": "jsdom" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged" | ||
} | ||
"browserslist": "supports es6-module and supports es6-module-dynamic-import, not opera > 0, not samsung > 0, not and_qq > 0", | ||
"lint-staged": { | ||
"*.{js,md}": "prettier --write" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # TypeIt | ||
[![Build Status](https://travis-ci.org/alexmacarthur/typeit.svg?branch=master)](https://travis-ci.org/alexmacarthur/typeit) | ||
[![Bundle Size](https://badgen.net/bundlephobia/minzip/typeit)](https://bundlephobia.com/result?p=typeit) | ||
[![npm downloads](https://img.shields.io/npm/dm/typeit.svg?style=flat-square)](http://npm-stat.com/charts.html?package=typeit) | ||
@@ -25,3 +25,3 @@ [![](https://data.jsdelivr.com/v1/package/npm/typeit/badge)](https://www.jsdelivr.com/package/npm/typeit) | ||
- Loop your string(s) continuously. | ||
- Define your strings via an options object or in the HTML (a useful fallback in case user doesn't have JavaScript enabled, as well as for SEO). | ||
- Set strings to type via an options object or in the HTML (a useful fallback in case user doesn't have JavaScript enabled, as well as for SEO). | ||
- Use a single TypeIt instance to target several different elements on a page. | ||
@@ -35,3 +35,3 @@ - Handle HTML (even nested tags!) with ease, preserving all of its attributes (classes, ids, etc.). | ||
Using TypeIt for an open source or personal project is completely free. To use it in a commercial project, purchase a single license, or an unlimited license that'll never expire, no matter how many times you use it. | ||
Using TypeIt for an open source or personal project is completely free is licensed under [GPLv3](https://www.gnu.org/licenses/quick-guide-gplv3.html). To use it in a commercial project, however, a paid license is required. Learn more about them here: | ||
@@ -55,3 +55,3 @@ - Single Commercial License - [Purchase Here](https://typeitjs.com/checkout/limited) | ||
Please do! The code is available on Github. Check out the [CONTRIBUTING.md](https://github.com/alexmacarthur/typeit/blob/master/CONTRIBUTING.md) file to see how to get started. | ||
Please do! Check out the [CONTRIBUTING.md](https://github.com/alexmacarthur/typeit/blob/master/CONTRIBUTING.md) file to see how to get started. | ||
@@ -65,5 +65,1 @@ ## Know of a Neat Site Using TypeIt? | ||
If you're working with a custom implementation of TypeIt and would like some help, I'm available for hire. [Get in touch!](https://macarthur.me/contact) | ||
## License | ||
[GPL-2.0](https://github.com/alexmacarthur/typeit/blob/master/LICENSE) © Alex MacArthur |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
127317
10
85
1537
1
61
1