|
14 | 14 | "scripts": { |
15 | 15 | "build": "rm -rf dist/* && microbundle -o dist/index.js -f modern,umd --external react=React --sourcemap false --jsx React.createElement --no-compress --tsconfig ./tsconfig.json", |
16 | 16 | "dev": "rm -rf dist/* && microbundle watch -o dist/index.js -f modern,umd --external react=React --sourcemap false --jsx React.createElement --no-compress --tsconfig ./tsconfig.json", |
17 | | - "lint": "eslint './src/**/*.{ts,tsx}'", |
| 17 | + "lint": "eslint './{src,examples}/**/*.{ts,tsx}'", |
18 | 18 | "types": "tsc --project tsconfig.json --noEmit", |
19 | 19 | "test": "npm run lint && npm run types", |
20 | 20 | "prepublishOnly": "npm run test && npm run build", |
21 | 21 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", |
22 | 22 | "preversion": "npm run test", |
23 | 23 | "version": "npm run changelog && git checkout -b chore/release-${npm_package_version} && git add .", |
24 | 24 | "postversion": "git push -u origin chore/release-${npm_package_version} && git push --tags --no-verify", |
25 | | - "start:sample-map": "cd examples && npm run clean-examples && npm i && npm run start:map", |
26 | | - "start:map-with-markers": "cd examples && npm run clean-examples && npm i && npm run start:map-markers", |
27 | | - "start:geocoding-example": "cd examples && npm run clean-examples && npm i && npm run start:geocoding", |
| 25 | + "postinstall": "npm install --prefix examples", |
| 26 | + "start:sample-map": "cd examples && npm run clean-examples && npm run start:map", |
| 27 | + "start:map-with-markers": "cd examples && npm run clean-examples && npm run start:map-markers", |
| 28 | + "start:geocoding-example": "cd examples && npm run clean-examples && npm run start:geocoding", |
28 | 29 | "start:places-example": "cd examples && npm run clean-examples && npm run start:places", |
29 | 30 | "start:autocomplete-example": "cd examples && npm run clean-examples && npm run start:autocomplete", |
30 | 31 | "start:directions-example": "cd examples && npm run clean-examples && npm run start:directions" |
|
0 commit comments