-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·64 lines (64 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "react-tel-input-japan",
"description": "a react telephone number input component for japan",
"version": "2.0.3",
"keywords": "telephone number, react, react-component, input, tel",
"repository": "BaiLingLi/react-tel-input-japan",
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"author": "BaiLing Li <[email protected]> (https://github.com/BaiLingLi)",
"scripts": {
"build": "npm run build:es && npm run build:cjs && npm run build:umd",
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src --out-dir es --sourceMaps=inline",
"build:cjs": "rimraf lib && cross-env BABEL_ENV=cjs babel src --out-dir lib --sourceMaps=inline",
"build:umd": "rimraf dist && npm run build:umd:prod && npm run build:umd:dev",
"build:umd:prod": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/react-tel-input-japan.min.js",
"build:umd:dev": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/react-tel-input-japan.js",
"docs:build": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c example/rollup.config.js -i example/index.js -o example/bundle.js",
"docs:publish": "npm run docs:build && cd example && rimraf .git && git init && git commit --allow-empty -m 'update docs' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update docs' && git push [email protected]:BaiLingLi/react-tel-input-japan gh-pages --force",
"clean": "rimraf es && rimraf lib && rimraf dist",
"lint": "eslint src",
"prepare": "npm run build",
"precommit": "lint-staged",
"prerelease": "npm run lint && npm run prepare",
"release:patch": "npm run prerelease && npm version patch && git push --follow-tags && npm publish",
"release:minor": "npm run prerelease && npm version minor && git push --follow-tags && npm publish",
"release:major": "npm run prerelease && npm version major && git push --follow-tags && npm publish"
},
"peerDependencies": {
"react": ">=0.14.0 <16.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"cross-env": "^4.0.0",
"eslint": "^3.3.1",
"eslint-config-prometheusresearch": "^0.2.0",
"eslint-plugin-react": "^6.1.2",
"husky": "^0.13.3",
"lint-staged": "^3.4.2",
"prettier": "^1.3.1",
"react": "^15.3.1",
"react-dom": "^15.3.1",
"rimraf": "^2.6.1",
"rollup": "^0.36.3",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-uglify": "^1.0.2"
},
"files": [
"es",
"lib",
"dist"
],
"dependencies": {
"prop-types": "^15.5.10"
}
}