-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 2.25 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
{
"name": "inline-i18n",
"version": "0.1.5",
"description": "An i18n solution which keeps the English text inline within your code—where it should be. Works with frontend JavaScript, within React (including component swaps), and on Node.js.",
"main": "build/i18n.js",
"scripts": {
"start": "webpack --watch",
"build": "webpack --mode production",
"confirm": "read -p 'Are you sure? ' -n 1 -r && echo '\n' && [[ $REPLY =~ ^[Yy]$ ]]",
"test": "echo \"Error: no test specified\" && exit 1",
"update-patch": "npm run go-update-patch -s",
"update-minor": "npm run go-update-minor -s",
"update-major": "npm run go-update-major -s",
"go-update-patch": "echo '-------------------------------------------\nUpdate version (PATCH) and deploy to npm...\n-------------------------------------------\n' && npm run confirm && npm i && npm run build && npm version patch && npm run publish-to-npm",
"go-update-minor": "echo '-------------------------------------------\nUpdate version (MINOR) and deploy to npm...\n-------------------------------------------\n' && npm run confirm && npm i && npm run build && npm version minor && npm run publish-to-npm",
"go-update-major": "echo '-------------------------------------------\nUpdate version (MAJOR) and deploy to npm...\n-------------------------------------------\n' && npm run confirm && npm i && npm run build && npm version major && npm run publish-to-npm",
"publish-to-npm": "npm publish --access public && echo '\nSUCCESS!\n'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/educational-resources-and-services/inline-i18n.git"
},
"keywords": [
"i18n",
"inline",
"react"
],
"author": "Andy Hubert",
"license": "MIT",
"bugs": {
"url": "https://github.com/educational-resources-and-services/inline-i18n/issues"
},
"homepage": "https://github.com/educational-resources-and-services/inline-i18n#readme",
"dependencies": {
"csv-parser": "^2.3.2",
"find-in-files": "^0.5.0"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"babel-loader": "^8.0.6",
"react": ">=15.0.1",
"react-dom": ">=15.0.1",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
}
}