forked from 418sec/js-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 3.6 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
100
101
102
103
104
105
106
107
108
109
110
{
"name": "js-data",
"description": "Robust, framework-agnostic in-memory data store.",
"version": "3.0.5",
"homepage": "http://www.js-data.io",
"repository": {
"type": "git",
"url": "https://github.com/js-data/js-data.git"
},
"author": "js-data project authors",
"license": "MIT",
"main": "./dist/js-data.js",
"jsnext:main": "dist/js-data.es2015.js",
"typings": "./dist/js-data.d.ts",
"files": [
"dist/",
"lib/",
"src/",
"AUTHORS",
"CONTRIBUTORS",
"typings.json"
],
"keywords": [
"orm",
"odm",
"model",
"schema",
"rest",
"datastore",
"store",
"database",
"adapter",
"http",
"localstorage"
],
"standard": {
"parser": "babel-eslint",
"globals": [
"beforeEach",
"after",
"describe",
"it"
]
},
"scripts": {
"banner": "node scripts/banner.js",
"build": "npm run lint && npm run bundle && npm run min && npm run banner",
"bundle:es5": "rollup src/index.js -c -o dist/js-data.js -m dist/js-data.js.map -f umd",
"bundle:next": "rollup src/index.js -c -o dist/js-data.es2015.js -m dist/js-data.es2015.js.map -f es",
"bundle": "npm run bundle:es5 && npm run bundle:next && repo-tools write-version dist/js-data.js dist/js-data.es2015.js",
"cover": "nyc --require babel-core/register --require babel-polyfill --cache mocha --recursive -t 20000 -R dot && nyc report --reporter=html",
"doc": "jsdoc -c conf.json src && node scripts/cleanup.js",
"gzip": "echo gzipped size: $(cat dist/js-data.min.js | gzip -f9 | wc -c)kb",
"karma": "karma start",
"lint": "eslint --fix src/**/*.js && standard 'src/**/*.js' 'test/**/*.js' 'scripts/*.js' 'lib/**/*.js' '*.config.js'",
"min": "uglifyjs -o dist/js-data.min.js --source-map url=js-data.min.map -v -m -c --keep-fnames --screw-ie8 -- dist/js-data.js",
"mocha": "mocha --recursive -t 20000 -R dot -r babel-core/register -r babel-polyfill",
"precommit": "lint-staged && npm run lint",
"prepush": "npm test",
"release": "npm test && npm run doc && repo-tools updates && repo-tools changelog && repo-tools authors",
"test": "npm run build && npm run cover && npm run karma"
},
"lint-staged": {
"linters": {
"src/**/*.js": [
"prettier-standard",
"git add"
]
}
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-es2015-modules-umd": "6.24.1",
"babel-plugin-transform-regenerator": "6.26.0",
"babel-polyfill": "6.26.0",
"babel-preset-env": "^1.7.0",
"chai": "^4.1.2",
"eslint": "^5.4.0",
"eslint-config-standard": "^12.0.0-alpha.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-standard": "^3.1.0",
"husky": "^0.14.3",
"ink-docstrap": "git+https://github.com/js-data/docstrap.git#cfbe45fa313e1628c493076d5e15d2b855dfbf2c",
"js-data-repo-tools": "1.0.0",
"jsdoc": "^3.5.5",
"karma": "3.0.0",
"karma-babel-preprocessor": "7.0.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "2.2.0",
"karma-mocha": "1.3.0",
"karma-phantomjs-launcher": "1.0.4",
"karma-sauce-launcher": "1.2.0",
"karma-sinon": "1.0.5",
"lint-staged": "^7.2.2",
"mocha": "5.2.0",
"nyc": "12.0.2",
"phantomjs-prebuilt": "2.1.16",
"prettier-standard": "^8.0.1",
"rollup": "0.64.1",
"rollup-plugin-babel": "3.0.7",
"sinon": "6.1.5",
"standard": "11.0.1",
"uglify-js": "3.4.7"
}
}