Skip to content

Commit

Permalink
feat(Streamlined Package): Removed unnecessary code and dependencies …
Browse files Browse the repository at this point in the history
…being used for demo only
  • Loading branch information
guioconnor committed Mar 12, 2018
1 parent b870911 commit bedaf3b
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": ["env", "react"],
"presets": ["react", "env", "stage-2"],
"plugins": [
["transform-class-properties", { "spec": true }]
]
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ coverage
/demo/build
/demo/lib

# built files
dist

# misc
.DS_Store
.env.local
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_js:
script:
- yarn coverage
- yarn check-coverage
- yarn build
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- yarn report-coverage
Expand Down
29 changes: 25 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-memory-game",
"version": "0.0.0-development",
"description": "A memory game engine.",
"main": "src/index.js",
"main": "dist/index.js",
"directories": {
"doc": "docs"
},
Expand All @@ -13,25 +13,41 @@
"check-coverage": "istanbul check-coverage -statements 25 -branches 25 -functions 25 -lines 25",
"test": "jest --watch",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"prebuild": "rimraf dist",
"build": "babel --copy-files --out-dir dist --ignore *.spec.js src"
},
"repository": {
"type": "git",
"url": "https://github.com/guioconnor/react-memory-game.git"
},
"keywords": [],
"keywords": [
"memory",
"game",
"gaming",
"engine",
"board",
"pattern",
"children"
],
"files": [
"dist",
"README.md"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/guioconnor/react-memory-game/issues"
},
"homepage": "https://github.com/guioconnor/react-memory-game#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^22.4.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"codecov.io": "^0.1.6",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.1.0",
Expand All @@ -45,9 +61,14 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"regenerator-runtime": "^0.11.1",
"rimraf": "^2.6.2",
"semantic-release": "^15.0.2",
"travis-deploy-once": "^4.4.0"
},
"peerDependencies": {
"react": "^16.2.0",
"lodash": "^4.17.5"
},
"czConfig": {
"path": "node_modules/cz-conventional-changelog"
},
Expand All @@ -56,4 +77,4 @@
"pre-commit": "yarn coverage && yarn check-coverage"
}
}
}
}
Loading

0 comments on commit bedaf3b

Please sign in to comment.