forked from WaniKani/WanaKana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 3.72 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "wanakana",
"version": "5.0.2",
"license": "MIT",
"homepage": "http://www.wanakana.com",
"description": "Utility library for converting between Kanji, Hiragana, Katakana, and Romaji",
"keywords": [
"english",
"japanese",
"hiragana",
"katakana",
"kana",
"romaji",
"conversion",
"transliteration",
"input",
"ime",
"wanikani"
],
"repository": {
"type": "git",
"url": "[email protected]/WaniKani/WanaKana"
},
"bugs": {
"url": "https://github.com/WaniKani/WanaKana/issues"
},
"devEngines": {
"node": ">=12"
},
"scripts": {
"prebuild": "rimraf ./dist",
"build": "rollup -c",
"build:watch": "onchange './src/**/*.js' -- npm run build",
"precommit": "lint-staged",
"cz": "git-cz",
"cypress:server": "static-server -p 9080 -i './cypress/fixtures/test-input.html'",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:test": "npm-run-all build --parallel --race cypress:server cypress:run",
"cypress:watch": "npm-run-all --parallel --race build:watch cypress:server cypress:open",
"predocs": "rimraf ./gh-pages/docs",
"docs": "node_modules/.bin/jsdoc -c jsdoc.json --verbose",
"docs:watch": "onchange './src/**/*.js' -- npm run docs",
"docs:view": "open ./gh-pages/docs/index.html",
"demo:view": "npm run build && static-server ./gh-pages",
"pretest": "rimraf ./coverage",
"test": "jest",
"test:fast": "npm run test -- --testNamePattern='^(?!.*Performance)'",
"test:watch": "npm run test:fast -- --watch",
"test:coverage": "npm run test -- --coverage",
"test:view": "open ./coverage/lcov-report/index.html",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"release": "node ./scripts/release.js",
"format": "prettier-eslint --write",
"lint": "eslint --color",
"lint:js": "npm run lint -- ./src/**/*.js"
},
"devDependencies": {
"@babel/core": "7.17.9",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "13.2.0",
"benchmark": "^2.1.4",
"commitizen": "^4.2.4",
"core-js": "3",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"cypress": "9.5.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "2.26.0",
"gh-pages": "^3.2.3",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jsdoc": "^3.6.10",
"jsdoc-template": "https://github.com/braintree/jsdoc-template.git",
"just-pick": "^4.0.1",
"lint-staged": "12.3.7",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"open-cli": "^7.0.1",
"prettier-eslint-cli": "^5.0.1",
"readline-sync": "^1.4.10",
"replace-in-file": "^6.3.2",
"rimraf": "^3.0.2",
"rollup": "2.70.1",
"rollup-plugin-terser": "^7.0.2",
"shelljs": "^0.8.5",
"static-server": "^3.0.0"
},
"dependencies": {
"dequal": "^2.0.2",
"memoize-one": "^6.0.0"
},
"lint-staged": {
"src/**/*.js": [
"npm run format --",
"npm run lint --"
]
},
"jest": {
"bail": false,
"verbose": false,
"testMatch": [
"<rootDir>/test/**/*.test.js"
],
"coverageThreshold": {
"global": {
"branches": 95,
"functions": 100,
"lines": 95,
"statements": 95
}
},
"coverageDirectory": "./coverage",
"collectCoverageFrom": [
"src/**/*.js",
"!**/node_modules/**",
"!**/test/**",
"!src/**/index.js",
"!src/**/bind.js",
"!src/**/unbind.js",
"!src/**/dom.js",
"!src/**/logInputEvents.js"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}