forked from ubilabs/react-geosuggest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
99 lines (99 loc) · 4.34 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
{
"name": "react-geosuggest",
"version": "2.9.0",
"description": "A React autosuggest for the Google Maps Places API.",
"main": "module/Geosuggest.umd.js",
"module": "module/Geosuggest.esm.js",
"author": "Robert Katzki <[email protected]>",
"homepage": "https://github.com/ubilabs/react-geosuggest",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ubilabs/react-geosuggest.git"
},
"bugs": {
"url": "https://github.com/ubilabs/react-geosuggest/issues"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"classnames": "^2.2.6",
"lodash.debounce": "^4.0.6"
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/classnames": "^2.2.6",
"@types/googlemaps": "3.30.13",
"@types/jsdom": "^11.0.6",
"@types/lodash.debounce": "^4.0.4",
"@types/mocha": "^5.2.5",
"@types/react": "^16.4.7",
"@types/react-dom": "^16.0.6",
"@types/sinon": "^5.0.1",
"chai": "^4.1.2",
"conventional-changelog-generator": "0.0.3",
"copyfiles": "^2.0.0",
"cross-env": "^5.2.0",
"gh-pages": "^1.2.0",
"jsdom": "^11.12.0",
"light-server": "^2.5.1",
"mkdirp": "^0.5.1",
"mocha": "^5.2.0",
"nodecat": "^2.0.0",
"nyc": "^12.0.2",
"prettier": "^1.14.0",
"prop-types": "^15.6.2",
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0",
"rimraf": "^2.6.2",
"rollup": "^0.63.5",
"rollup-plugin-commonjs": "^9.1.5",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript2": "^0.16.1",
"rollup-plugin-uglify": "^4.0.0",
"sinon": "^6.1.4",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.14.0",
"typescript": "^3.0.1"
},
"scripts": {
"prepublish": "npm run build:module",
"lint": "tslint -c tslint.json ./src/*.tsx ./src/*.ts ./example/src/*.tsx ./test/*.jsx ./test/*.js ./test/fixtures",
"pretest": "npm run js:prettier:ci && npm run lint",
"test": "nyc --include 'src/*' -e .jsx -s npm run unit-test",
"posttest": "nyc report --reporter=text --reporter=lcov --reporter=html",
"start": "npm run server",
"unit-test": "mocha --require ts-node/register --require ./test/test_helper.ts \"test/**/*@(.ts|.tsx)\"",
"server": "npm run prepare:example && light-server -s example/dist -p 8000 -w 'src/*.jsx,src/*.js,example/src/*.js # npm run js:example' -w 'src/*.css,example/src/*.css # npm run css # reloadcss' -w 'example/src/*.html # npm run copy:assets # reload'",
"prepare:example": "rimraf example/dist && mkdirp example/dist && npm run copy:assets && npm run js:example && npm run css",
"copy:assets": "copyfiles -f example/src/*.html example/dist && copyfiles -f example/src/*.svg example/dist",
"css": "nodecat example/src/app.css src/geosuggest.css > example/dist/app.css",
"js:example": "rollup -c rollup.example.config.js",
"js:prettier:ci": "prettier --config ./.prettierrc.yml --ignore-path ./.prettierignore --list-different \"**/**.{js,jsx}\"",
"js:prettier:fix": "prettier --config ./.prettierrc.yml --ignore-path ./.prettierignore --write \"**/**.{js,jsx}\"",
"build:module": "rimraf module && cross-env NODE_ENV=production rollup -c rollup.module.config.js && copyfiles -f src/geosuggest.css module/",
"build:browser": "rimraf dist && rollup -c rollup.browser.config.js && cross-env NODE_ENV=production rollup -c rollup.browser.config.js",
"build:example": "cross-env NODE_ENV=production rollup -c rollup.example.config.js",
"release:patch": "npm version patch -m \"chore(release): version %s\"",
"release:minor": "npm version minor -m \"chore(release): version %s\"",
"release:major": "npm version major -m \"chore(release): version %s\"",
"changelog": "conventional-changelog-generator && atom -w CHANGELOG.md",
"preversion": "npm test",
"version": "npm run build:browser && npm run changelog && git add .",
"postversion": "git push && git push --tags && npm run publish:example",
"publish:example": "npm run build:example && gh-pages -d example/dist"
},
"readmeFilename": "README.md",
"keywords": [
"react",
"react-component",
"google",
"autosuggest",
"places"
]
}