forked from ubilabs/react-geosuggest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 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
{
"name": "react-geosuggest",
"version": "2.1.0",
"description": "A React autosuggest for the Google Maps Places API.",
"main": "module/Geosuggest.js",
"author": "Robert Katzki <katzki@ubilabs.net>",
"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"
},
"dependencies": {
"classnames": "^2.2.3",
"lodash.debounce": "^4.0.6",
"react-addons-shallow-compare": "^15.5.2"
},
"devDependencies": {
"babel-cli": "^6.6.5",
"babel-core": "^6.7.0",
"babel-eslint": "^4.1.8",
"babel-plugin-transform-class-properties": "^6.9.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"browserify-global-shim": "^1.0.0",
"bumpery": "^1.1.1",
"chai": "^3.5.0",
"conventional-changelog-generator": "0.0.3",
"eslint": "^1.5.1",
"eslint-plugin-react": "^3.16.1",
"gh-pages": "^0.9.0",
"jsdom": "^8.1.0",
"light-server": "^1.0.3",
"mocha": "^2.4.5",
"nyc": "^6.4.4",
"react": "^15.1.0",
"react-addons-test-utils": "^15.1.0",
"react-dom": "^15.1.0",
"sinon": "^1.17.3",
"uglifyjs": "^2.4.10"
},
"scripts": {
"prepublish": "npm run build:module",
"lint": "eslint ./src/*.jsx ./src/*.js ./example/src ./test/*.jsx ./test/*.js ./test/fixtures",
"pretest": "npm run lint",
"test": "nyc --include 'src/*' -e .jsx -s npm run unit-test && npm run report",
"start": "npm run server",
"unit-test": "mocha --compilers js:babel-core/register --require ./test/test_helper.js \"test/**/*@(.js|.jsx)\"",
"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": "rm -rf example/dist && mkdir example/dist && npm run copy:assets && npm run js:example && npm run css",
"copy:assets": "cp example/src/*.html example/dist && cp example/src/*.svg example/dist",
"css": "cat example/src/app.css src/geosuggest.css > example/dist/app.css",
"js:example": "browserify example/src/app.js -t babelify --extension=.jsx> example/dist/app.js",
"js:example:uglify": "uglifyjs example/dist/app.js -o example/dist/app.js -c warnings=false --mangle",
"js:browser": "browserify src/Geosuggest.jsx --standalone Geosuggest --exclude react -t babelify --extension=.jsx -t browserify-global-shim > dist/react-geosuggest.js",
"js:browser:uglify": "uglifyjs dist/react-geosuggest.js -o dist/react-geosuggest.min.js -c warnings=false,drop_console=true --mangle",
"build:module": "babel src --out-dir module && cp src/geosuggest.css module/",
"build:browser": "npm run js:browser && npm run js:browser:uglify",
"build:example": "npm run prepare:example && npm run js:example:uglify",
"changelog": "conventional-changelog-generator && atom -w CHANGELOG.md",
"release": "echo 'Usage: npm run release:patch|minor|major'",
"release:patch": "npm run build:browser && bumpery --verify='npm test' --no-push --no-commit --no-createTag --versionType patch && npm run release:finish",
"release:minor": "npm run build:browser && bumpery --verify='npm test' --no-push --no-commit --no-createTag --versionType minor && npm run release:finish",
"release:major": "npm run build:browser && bumpery --verify='npm test' --no-push --no-commit --no-createTag --versionType major && npm run release:finish",
"release:finish": "npm run changelog && npm run release:commit && npm run publish:example",
"release:commit": "bumpery --commitFiles 'dist/*.js CHANGELOG.md package.json' --commitMessage 'chore(release): version %VERSION%' --no-bumpVersion",
"report": "nyc report --reporter=text --reporter=lcov --reporter=html",
"publish:example": "npm run build:example && gh-pages -d example/dist"
},
"browserify-global-shim": {
"react": "React"
},
"readmeFilename": "README.md",
"keywords": [
"react",
"react-component",
"google",
"autosuggest",
"places"
]
}