-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 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
{
"name": "memoria",
"private": true,
"type": "module",
"version": "0.0.33",
"description": "in-memory database/ORM and http mock server you can run in-browser and node environments. Built for large frontend teams, fast tests and rapid prototyping",
"author": "Izel Nakri",
"repository": {
"type": "git",
"url": "https://github.com/izelnakri/memoria.git"
},
"license": "MIT",
"bin": {
"memoria": "src/cli.ts"
},
"workspaces": [
"packages/@memoria/*"
],
"scripts": {
"bin": "src/cli.ts",
"build": "node scripts/change-entrypoints.js ts && npm run libs:build",
"build:dev": "ENVIRONMENT=development npm run libs:build",
"changelog:unreleased": "node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit",
"changelog:preview": "node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false -u --hide-credit",
"changelog:update": "node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --commit-limit false --package --hide-credit",
"libs:build": "node scripts/clean-libraries.js && node scripts/build-libraries.js",
"libs:clean": "node scripts/clean-libraries.js",
"libs:release": "node scripts/release-libraries.js",
"dev": "webpack-dev-server",
"docs": "typedoc --entryPointStrategy expand && surge docs memoria.surge.sh",
"prepack": "npm run build",
"release": "release-it",
"release:beta": "release-it --preRelease=beta",
"test": "npm run test:browser && npm run test:node",
"test:ci": "npm run test:browser:ci && npm run test:node:ci",
"test:watch": "npm run test:browser:watch",
"test:browser": "ENVIRONMENT=development npm run test:browser:ci",
"test:browser:ci": "npm run build && qunitx test/browser.ts --browser --debug --failFast --before=packages/@memoria/server/test/helpers/webserver-for-passthrough.js",
"test:browser:debug": "node --inspect-brk node_modules/qunitx/cli.js test/browser.ts --browser --debug --failFast --before=packages/@memoria/server/test/helpers/webserver-for-passthrough.js",
"test:browser:watch": "ENVIRONMENT=development npm run build && qunitx packages/@memoria/adapters/*/memory packages/@memoria/adapters/*/rest packages/@memoria/adapters/*/memory packages/@memoria/model packages/@memoria/response packages/@memoria/server/src/index.ts test/browser.ts --watch --browser --debug --failFast --before=packages/@memoria/server/test/helpers/webserver-for-passthrough.js",
"test:node": "ENVIRONMENT=development npm run test:node:ci",
"test:node:ci": "npm run build && c8 --reporter=lcov qunitx test/index.ts --before=packages/@memoria/server/test/helpers/webserver-for-passthrough.js --failFast",
"test:node:debug": "ENVIRONMENT=development npm run build && qunitx packages/@memoria/adapters/*/memory packages/@memoria/adapters/*/rest packages/@memoria/adapters/*/sql packages/@memoria/model test/index.ts --watch --debug --before=packages/@memoria/server/test/helpers/webserver-for-passthrough.js",
"test:node:watch": "ENVIRONMENT=development npm run build && qunitx packages/@memoria/adapters/*/memory packages/@memoria/adapters/*/rest packages/@memoria/adapters/*/sql packages/@memoria/model test/index.ts --watch --before=packages/@memoria/server/test/helpers/webserver-for-passthrough.js",
"test:cli": "qunitx packages/@memoria/cli/test/index.js",
"typecheck": "tsc --project tsconfig.json --noEmit --skipLibCheck",
"sketchpad": "ENVIRONMENT=development npm run libs:build && node scripts/change-entrypoints.js js && esbuild sketchpad.ts --outfile=sketchpad.js && node sketchpad.js",
"sketchpad:browser": "parcel index.html"
},
"dependencies": {
"@types/node": "^20.3.1",
"fake-xml-http-request": "^2.1.2",
"inflected": "^2.1.0",
"kleur": "4.1.5",
"pretender": "^3.4.7",
"route-recognizer": "^0.3.4"
},
"devDependencies": {
"@types/jquery": "^3.5.9",
"auto-changelog": "^2.3.0",
"cors": "^2.8.5",
"esbuild-loader": "^3.0.1",
"express": "^4.17.1",
"fastboot": "^4.1.1",
"jquery": "3.7.0",
"jsdom": "^22.1.0",
"pg": "^8.7.1",
"qunitx": "^0.4.4",
"recursive-lookup": "^1.0.0",
"release-it": "^15.11.0",
"resolve-typescript-plugin": "^2.0.1",
"rfdc": "^1.3.0",
"sinon": "^15.2.0",
"strip-ansi": "^7.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"typedoc-plugin-rename-defaults": "^0.6.5",
"typeorm": "0.3.17",
"typescript": "^5.1.3",
"webpack": "5.88.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "4.15.1"
},
"prettier": {
"printWidth": 120,
"arrowParens": "always"
},
"volta": {
"node": "20.1.0"
},
"release-it": {
"npm": false,
"publishConfig": {
"access": "public"
},
"git": {
"changelog": "npm run changelog:unreleased"
},
"github": {
"release": true
},
"hooks": {
"after:bump": "npm run changelog:update && npm run libs:release ${version}"
}
}
}