forked from 418sec/js-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.5 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
111
{
"name": "js-data",
"description": "Robust, framework-agnostic in-memory data store.",
"version": "3.0.9",
"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/register --require @babel/polyfill --cache mocha --recursive -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",
"lint": "eslint --fix src/**/*.js && standard --fix '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 -b --recursive -R dot -r @babel/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"
},
"lint-staged": {
"linters": {
"src/**/*.js": [
"prettier-standard",
"git add"
]
}
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/node": "^7.8.3",
"@babel/plugin-external-helpers": "^7.8.3",
"@babel/plugin-transform-modules-umd": "^7.8.3",
"@babel/plugin-transform-regenerator": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@js-data/repo-tools": "^1.0.1",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"docdash": "^1.1.1",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.1",
"jsdoc": "^3.6.3",
"karma": "^4.4.1",
"karma-babel-preprocessor": "^8.0.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sauce-launcher": "^2.0.2",
"karma-sinon": "^1.0.5",
"lint-staged": "^10.0.2",
"lodash": "^4.17.15",
"mocha": "^7.0.0",
"nyc": "15.0.0",
"phantomjs-prebuilt": "^2.1.16",
"prettier-standard": "^16.1.0",
"rollup": "^1.29.0",
"rollup-plugin-babel": "^4.3.3",
"sinon": "^8.1.0",
"standard": "14.3.1",
"uglify-js": "^3.7.6"
}
}