-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 4.28 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
{
"name": "react-targem",
"version": "1.7.1",
"description": "A React library for efficiently implementing Gettext localization",
"main": "./dist/bundles/index.umd.js",
"module": "./dist/esm5/index.js",
"es2015": "./dist/esm2015/index.js",
"typings": "./dist/types/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/trucknet-io/react-targem.git"
},
"keywords": [
"react",
"targem",
"i18n",
"typescript",
"localization"
],
"author": "goooseman, alexeychikk",
"license": "MIT",
"scripts": {
"prestart": "npm run import-strings",
"prelint": "npm run import-strings",
"precommit": "npm run export-strings && git add dev/src/i18n/*.po* && lint-staged && npm run lint",
"export-strings": "gettext-utils export-strings 'dev/src/**/{*.ts,*.tsx}' dev/src/i18n/template.pot --default-locale=en-GB",
"import-strings": "gettext-utils import-strings dev/src/i18n dev/src/i18n/translations.json",
"commit": "commit-prompt --no-verify",
"lint": "npm run lint:tsc && npm run lint:tslint",
"lint:tsc": "tsc -p dev/tsconfig.json --noEmit",
"lint:prettier": "prettier --write \"{src,dev/src,test}/**/*.ts*\"",
"lint:tslint": "tslint -c tslint.json -p ./dev/tsconfig.json --fix",
"start": "env-cmd -e development webpack-dev-server --config dev/webpack.config.js --hot",
"prebuild": "npm run clean",
"build": "npm run build:tsc && rollup -c config/rollup.config.js && env-cmd -e production rollup -c config/rollup.config.js",
"build:tsc": "tsc -p ./config/tsconfig.build.json && tsc -p ./config/tsconfig.build.json --target es2018 --outDir dist/esm2015",
"postbuild": "npm run rename-mjs && npm run size",
"rename-mjs": "node ./config/renameMjs.js",
"size": "node config/fileSize ./dist/bundles/index.min.mjs ./dist/bundles/index.umd.min.js",
"serve": "ws --directory dev/www --port 3000 --spa index.html",
"clean": "rimraf 'node_modules/.cache' '.awcache' 'dist'",
"pull-changes": "git checkout master && git pull && git checkout develop && git pull",
"prerelease": "npm run pull-changes && npm run build",
"release": "node ./config/release.js",
"postrelease": "npm publish",
"test": "jest --detectOpenHandles",
"test:ci": "jest --detectOpenHandles --coverage --coverageReporters=text-lcov | coveralls"
},
"dependencies": {
"memoize-one": "^5.1.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@types/jest": "^24.9.1",
"@types/memoize-one": "^4.1.1",
"@types/node": "^12.12.53",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"brotli-size": "0.0.3",
"case-sensitive-paths-webpack-plugin": "^2.3.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"coveralls": "^3.1.0",
"env-cmd": "^10.1.0",
"file-loader": "^4.3.0",
"gettext-utils": "^2.2.0",
"gzip-size": "5.1.1",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"intl": "^1.2.5",
"intl-locales-supported": "^1.8.12",
"jest": "^24.9.0",
"jest-date-mock": "^1.0.8",
"kleur": "3.0.3",
"markdown-loader": "^5.1.0",
"prettier-config-trucknet-io": "^2.1.0",
"pretty-bytes": "5.3.0",
"raw-loader": "^3.1.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hot-loader": "^4.12.21",
"react-testing-library": "~8.0.1",
"rimraf": "^3.0.2",
"rollup": "1.21.4",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-terser": "5.1.2",
"rollup-plugin-uglify": "6.0.3",
"start-server-and-test": "^1.11.2",
"trucknet-commit": "^1.5.5",
"ts-jest": "^24.3.0",
"ts-loader": "^6.2.2",
"ts-node": "^8.10.2",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"tslint": "^5.20.1",
"tslint-config-trucknet-io": "^1.8.7",
"typescript": "^3.9.7",
"webpack": "^4.44.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.12",
"webpack-config-utils": "^2.3.1",
"webpack-dev-server": "^3.11.0",
"webpackbar": "^4.0.0",
"zlib": "^1.0.5"
},
"peerDependencies": {
"react": "^16.3.0"
}
}