UNPKG

3.84 kBJSONView Raw
1{
2 "name": "sqlite",
3 "version": "4.1.2",
4 "description": "SQLite client for Node.js applications with SQL-based migrations API written in Typescript",
5 "main": "build/index.js",
6 "types": "build/index.d.ts",
7 "type": "commonjs",
8 "exports": {
9 "require": "./build/index.js",
10 "import": "./build/index.mjs",
11 "types": "./build/index.d.ts"
12 },
13 "scripts": {
14 "build": "npm run build:clean && npm run compile && cp -R src/index.mjs src/vendor-typings build",
15 "build:docs": "typedoc --options typedoc.js --plugin typedoc-plugin-markdown src/ --out docs",
16 "build:clean": "rm -rf build/*",
17 "compile": "tsc",
18 "debug": "ts-node-dev --inspect -- src/index.ts",
19 "debug:break": "ts-node-dev --inspect-brk -- src/index.ts",
20 "test": "jest",
21 "test:ci": "jest --ci --coverage",
22 "test:debug": "node --inspect-brk node_modules/.bin/jest",
23 "test:watch": "jest --watch",
24 "test:coverage:watch": "jest --coverage --watch",
25 "toc": "toc-md README.md README.md",
26 "lint-staged": "lint-staged",
27 "prepare-publish": "npm run changelog:prepare && version-bump && npm run changelog:release && npm run changelog:stamp",
28 "add-readme": "git add README.md",
29 "version-bump": "version-bump",
30 "changelog:help": "changelog-version",
31 "changelog:verify": "changelog-version verify",
32 "changelog:prepare": "changelog-version prepare",
33 "changelog:stamp": "git-commit-stamper parse CHANGELOG.md",
34 "changelog:release": "changelog-version release",
35 "lint": "standard --fix",
36 "ts-node-dev": "ts-node-dev"
37 },
38 "repository": {
39 "type": "git",
40 "url": "git+https://github.com/kriasoft/node-sqlite.git"
41 },
42 "author": "Kriasoft <hello@kriasoft.com> (https://www.kriasoft.com)",
43 "contributors": [
44 "Konstantin Tarkus <hello@tarkus.me> (https://twitter.com/koistya)",
45 "Theo Gravity <theo@suteki.nu> (https://theogravity.com)"
46 ],
47 "keywords": [
48 "sqlite",
49 "db",
50 "database",
51 "sql",
52 "migrate",
53 "migration",
54 "migrations",
55 "migrator",
56 "seed",
57 "seeds",
58 "seeder",
59 "node",
60 "node5",
61 "babel",
62 "es6",
63 "async",
64 "promise",
65 "promises",
66 "api"
67 ],
68 "license": "MIT",
69 "bugs": {
70 "url": "https://github.com/kriasoft/node-sqlite/issues"
71 },
72 "homepage": "https://github.com/kriasoft/node-sqlite#readme",
73 "devDependencies": {
74 "@theo.gravity/changelog-version": "2.1.11",
75 "@theo.gravity/version-bump": "2.0.14",
76 "@types/jest": "27.4.1",
77 "@types/node": "^17.0.25",
78 "@types/sqlite3": "^3.1.8",
79 "@typescript-eslint/eslint-plugin": "^5.20.0",
80 "@typescript-eslint/parser": "^5.20.0",
81 "eslint": "8.14.0",
82 "git-commit-stamper": "^1.0.10",
83 "jest": "27.5.1",
84 "jest-cli": "27.5.1",
85 "jest-junit-reporter": "1.1.0",
86 "lint-staged": "12.4.0",
87 "pre-commit": "1.2.2",
88 "prettier-standard": "16.4.1",
89 "sql-template-strings": "^2.2.2",
90 "sqlite3": "^5.0.5",
91 "sqlite3-offline-next": "^5.0.3",
92 "standardx": "^7.0.0",
93 "toc-md-alt": "^0.4.6",
94 "ts-jest": "27.1.4",
95 "ts-node": "10.7.0",
96 "ts-node-dev": "1.1.8",
97 "typedoc": "^0.22.15",
98 "typedoc-plugin-markdown": "^3.12.1",
99 "typescript": "4.6.3",
100 "version-bump-plugin-git": "^2.0.1"
101 },
102 "eslintConfig": {
103 "parserOptions": {
104 "ecmaVersion": 6,
105 "sourceType": "module",
106 "ecmaFeatures": {
107 "modules": true
108 }
109 },
110 "parser": "@typescript-eslint/parser",
111 "plugins": [
112 "@typescript-eslint/eslint-plugin"
113 ],
114 "rules": {
115 "@typescript-eslint/no-unused-vars": [
116 2,
117 {
118 "args": "none"
119 }
120 ]
121 }
122 },
123 "lint-staged": {
124 "src/**/*.ts": [
125 "prettier-standard",
126 "git add"
127 ]
128 },
129 "pre-commit": [
130 "toc",
131 "lint-staged",
132 "test:ci",
133 "build"
134 ]
135}