Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter committed Oct 12, 2018
1 parent 3cc7133 commit 6177730
Show file tree
Hide file tree
Showing 384 changed files with 23,427 additions and 18,269 deletions.
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 4,
"trailingComma": "all"
}
124 changes: 70 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,72 @@
{
"name": "fake-indexeddb",
"version": "2.0.4",
"description": "Fake IndexedDB: a pure JS in-memory implementation of the IndexedDB API",
"homepage": "https://github.com/dumbmatter/fakeIndexedDB",
"repository": {
"type": "git",
"url": "git://github.com/dumbmatter/fakeIndexedDB.git"
},
"bugs": {
"url": "https://github.com/dumbmatter/fakeIndexedDB/issues"
},
"keywords": [
"indexeddb",
"datastore",
"database",
"embedded",
"nosql",
"in-memory",
"polyfill",
"shim"
],
"main": "build/index.js",
"scripts": {
"build": "rm -rf build && tsc",
"prepublish": "npm run build && rm -rf build/test",
"lint": "tslint 'src/**/*.ts'",
"test-mocha": "mocha --timeout 10000 build/test/fakeIndexedDB",
"build-qunit": "browserify build/test/indexedDBmock/exports-qunit-bundle.js -o build/test/indexedDBmock/exports-qunit-bundle.js && cp src/test/indexedDBmock/index.html build/test/indexedDBmock/index.html",
"test-qunit": "npm run build-qunit && node-qunit-phantomjs build/test/indexedDBmock/index.html",
"test-w3c": "node src/test/web-platform-tests/run-all.js",
"test": "npm run lint && npm run build && npm run test-w3c && npm run test-mocha && npm run test-qunit"
},
"author": "Jeremy Scheff <[email protected]> (http://dumbmatter.com/)",
"license": "Apache-2.0",
"files": [
"build",
"lib"
],
"dependencies": {
"core-js": "^2.4.1",
"realistic-structured-clone": "^2.0.1",
"setimmediate": "^1.0.5"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^10.11.7",
"browserify": "^16.2.3",
"mocha": "^5.2.0",
"node-qunit-phantomjs": "^1.6.3",
"qunitjs": "^1.23.1",
"semver": "^5.6.0",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
}
"name": "fake-indexeddb",
"version": "2.0.4",
"description": "Fake IndexedDB: a pure JS in-memory implementation of the IndexedDB API",
"homepage": "https://github.com/dumbmatter/fakeIndexedDB",
"repository": {
"type": "git",
"url": "git://github.com/dumbmatter/fakeIndexedDB.git"
},
"bugs": {
"url": "https://github.com/dumbmatter/fakeIndexedDB/issues"
},
"keywords": [
"indexeddb",
"datastore",
"database",
"embedded",
"nosql",
"in-memory",
"polyfill",
"shim"
],
"main": "build/index.js",
"scripts": {
"build": "rm -rf build && tsc",
"prepublish": "npm run build && rm -rf build/test",
"lint": "tslint 'src/**/*.ts'",
"prettier": "prettier --write *.json 'src/**/*.{js,ts}'",
"test-mocha": "mocha --timeout 10000 build/test/fakeIndexedDB",
"build-qunit": "browserify build/test/indexedDBmock/exports-qunit-bundle.js -o build/test/indexedDBmock/exports-qunit-bundle.js && cp src/test/indexedDBmock/index.html build/test/indexedDBmock/index.html",
"test-qunit": "npm run build-qunit && node-qunit-phantomjs build/test/indexedDBmock/index.html",
"test-w3c": "node src/test/web-platform-tests/run-all.js",
"test": "npm run lint && npm run build && npm run test-w3c && npm run test-mocha && npm run test-qunit"
},
"author": "Jeremy Scheff <[email protected]> (http://dumbmatter.com/)",
"license": "Apache-2.0",
"files": [
"build",
"lib"
],
"dependencies": {
"core-js": "^2.4.1",
"realistic-structured-clone": "^2.0.1",
"setimmediate": "^1.0.5"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^10.11.7",
"browserify": "^16.2.3",
"husky": "^1.1.2",
"lint-staged": "^7.3.0",
"mocha": "^5.2.0",
"node-qunit-phantomjs": "^1.6.3",
"prettier": "^1.14.3",
"qunitjs": "^1.23.1",
"semver": "^5.6.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,ts}": [
"prettier --write",
"git add"
]
}
}
Loading

0 comments on commit 6177730

Please sign in to comment.