-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
51 lines (51 loc) · 1.85 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
{
"name": "@huynhducduy/is-palindrome",
"description": "Zero dependency, lightweight and fully functional palindrome checker",
"version": "1.0.10",
"version_short": "1.0",
"keywords": [
"palindrome",
"palindrome-checker",
"palindrome-validator",
"palindrome-string",
"palindrome-number",
"palindrome-date",
"palindromes",
"palind"
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"homepage": "https://github.com/huynhducduy/is-palindrome#readme",
"author": "Huynh Duc Duy (https://huynhducduy.me)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/huynhducduy/is-palindrome.git"
},
"bugs": {
"url": "https://github.com/huynhducduy/is-palindrome/issues"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^15.1.0",
"rollup": "^2.32.1",
"rollup-plugin-terser": "^7.0.2",
"yarn-run-all": "^3.1.1"
},
"main": "dist/common.js",
"browser": "dist/iife.js",
"module": "dist/esm.js",
"files": [
"dist/*.{js,map}"
],
"scripts": {
"test": "node ./test.js",
"compile": "npm-run-all --parallel compile:*",
"compile:iife": "rollup index.js --plugin commonjs,terser --name \"isPalindrome\" --file dist/iife.js --format iife --compact",
"compile:cjs": "rollup index.js --plugin commonjs,terser --name \"isPalindrome\" --file dist/common.js --format cjs --exports default --compact",
"compile:esm": "rollup index.js --plugin commonjs,terser --file dist/esm.js --format esm --compact",
"compile:amd": "rollup index.js --plugin commonjs,terser --file dist/amd.js --format amd --compact",
"compile:umd": "rollup index.js --plugin commonjs,terser --name \"isPalindrome\" --file dist/umd.js --format umd --compact",
"compile:sys": "rollup index.js --plugin commonjs,terser --file dist/sys.js --format system --compact"
}
}