forked from geolonia/normalize-japanese-addresses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.37 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
{
"name": "@geolonia/normalize-japanese-addresses",
"version": "2.8.0",
"description": "",
"browser": "./dist/main-browser.js",
"main": "./dist/main-node.js",
"types": "./dist/normalize.d.ts",
"scripts": {
"test": "npm run test:main && npm run test:addresses && npm run test:node:platform && npm run test:residential",
"test:node:platform": "npm run test:node-win || npm run test:node",
"test:main": "jest test/main.test.ts",
"test:addresses": "jest test/addresses.test.ts",
"test:residential": "jest test/residential.test.ts --runInBand",
"test:node": "curl -sL https://github.com/geolonia/japanese-addresses/archive/refs/heads/master.tar.gz | tar xvfz - -C ./test > nul 2>&1 && jest test/fs.test.ts",
"test:node-win": "curl -sL https://github.com/geolonia/japanese-addresses/archive/refs/heads/master.tar.gz -o master.tar.gz && 7z x master.tar.gz -y -o./ && 7z x ./master.tar -y -o./test && del master.tar.gz master.tar && jest test/fs.test.ts",
"test:generate-test-data": "npx ts-node -O '{\"module\":\"commonjs\"}' test/build-test-data.ts > test/addresses.csv",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.test.ts\" --fix",
"build": "npm run clean && rollup -c rollup.config.ts",
"clean": "node -e \"const fs = require('fs'); try { fs.rmSync('dist', { recursive: true, force: true }) } catch (err) { console.error(err) }\""
},
"author": "",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-typescript": "^8.2.1",
"@types/jest": "^26.0.20",
"@types/lru-cache": "^5.1.1",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"eslint": "^7.21.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-tsdoc": "^0.2.14",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rollup": "^2.45.2",
"ts-jest": "^26.5.3",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
}
},
"dependencies": {
"@geolonia/japanese-numeral": "^0.1.16",
"isomorphic-unfetch": "^3.1.0",
"lru-cache": "^6.0.0"
}
}