|
1 | 1 | { |
2 | 2 | "name": "alasql", |
3 | 3 | "description": "Use SQL to select and filter javascript data - including relational joins and search in nested objects (JSON). Export to and import from Excel and CSV", |
4 | | - "version": "2.1.3", |
| 4 | + "version": "2.1.2", |
5 | 5 | "author": "Andrey Gershun <[email protected]>", |
6 | 6 | "contributors": [ |
7 | 7 | "Mathias Wulff <[email protected]>" |
8 | 8 | ], |
| 9 | + "license": "MIT", |
9 | 10 | "main": "dist/alasql.fs.js", |
10 | 11 | "browser": "dist/alasql.min.js", |
11 | 12 | "directories": { |
|
14 | 15 | "typings": "dist/alasql.d.ts", |
15 | 16 | "scripts": { |
16 | 17 | "test": "gulp && yarn test-only", |
17 | | - "test-ci": "(yarn test-format || 1) && yarn test && yarn install-g && alasql 'select 1 as Succes'", |
| 18 | + "test-ci": "yarn test-format && yarn test && yarn install-g && alasql 'select 1 as Succes'", |
18 | 19 | "test-only": "mocha ./test --reporter dot", |
19 | 20 | "test-browser": "node test/browserTestRunner.js 7387", |
20 | | - "test-cover": "# istanbul cover -x 'lib/zt/zt.js' --dir test/coverage _mocha", |
| 21 | + "test-cover": "echo istanbul got depricated :-( # istanbul cover -x 'lib/zt/zt.js' --dir test/coverage _mocha", |
21 | 22 | "build": "yarn format && gulp", |
22 | 23 | "build-jison": "gulp --jison && gulp", |
23 | 24 | "build-watch": "gulp watch", |
24 | | - "install-g": "yarn build && npm uninstall alasql -g && npm install -g .", |
25 | | - "release": "yarn version #f='/tmp/alasql.tmp' && curl https://raw.githubusercontent.com/wiki/agershun/alasql/How-to-release.md > $f && sh $f ; rm $f", |
| 25 | + "install-g": "npm uninstall alasql -g && npm install -g .", |
| 26 | + "release": "yarn version", |
26 | 27 | "jison": "npx jison-gho ./src/alasqlparser.jison -o ./src/alasqlparser.js", |
27 | 28 | "fmt": "yarn pretty-commit --write", |
28 | 29 | "format": "yarn pretty-since-dev --write", |
29 | 30 | "format-all": "yarn pretty-all --write", |
30 | | - "test-format": "yarn pretty-since-dev --list-different || echo 'Please correct file formatting using `yarn format` and try again.'", |
| 31 | + "test-format": "yarn pretty-since-dev --list-different || (echo 'Please correct file formatting using `yarn format` and try again.' && exit 1)", |
31 | 32 | "pretty-since-dev": "{ git diff --name-only --diff-filter=d origin/develop ; git diff --name-only --diff-filter=d --staged origin/develop ; } | sort | uniq | grep -vE '^dist/|^test/coverage|^lib/|.min.js$' | grep -E '\\.(scss|css|js|ts|vue|json)$' | xargs npx prettier", |
32 | 33 | "pretty-commit": "{ git diff --name-only --diff-filter=d ; git diff --name-only --diff-filter=d --staged ; } | sort | uniq | grep -vE '^dist/|^test/coverage|^lib/|.min.js$' | grep -E '\\.(scss|css|js|ts|vue|json)$' | xargs npx prettier", |
33 | 34 | "pretty-all": "git ls-tree --full-tree --name-only -r HEAD | grep -vE '^dist/|^test/coverage|^lib/|.min.js$' | grep -E '\\.(scss|css|js|ts|vue|json)$' | xargs npx prettier", |
|
51 | 52 | }, |
52 | 53 | "dependencies": { |
53 | 54 | "dom-storage": "2.1.0", |
54 | | - "es6-promise": "4.2.8", |
| 55 | + "es6-promise": "4.2.6", |
55 | 56 | "lodash": "4.17.21", |
56 | 57 | "request": "2.88.2", |
57 | 58 | "xlsx": "0.18", |
|
81 | 82 | "uglify-js": "3.17.3" |
82 | 83 | }, |
83 | 84 | "resolutions": { |
| 85 | + "yargs": "16", |
84 | 86 | "got": "^12.0.0", |
85 | 87 | "axios": "^1.0.0", |
86 | 88 | "marked": "^4.0.10", |
| 89 | + "prettier": "2.7.0", |
87 | 90 | "underscore": "^1.12.1", |
88 | 91 | "glob-parent": "^6.0.0", |
89 | 92 | "lodash.template": "^4.5.0" |
|
93 | 96 | }, |
94 | 97 | "repository": { |
95 | 98 | "type": "git", |
96 | | - "url": "http://github.com/agershun/alasql.git" |
| 99 | + "url": "http://github.com/AlaSQL/alasql.git" |
97 | 100 | }, |
98 | 101 | "bugs": { |
99 | | - "url": "https://github.com/agershun/alasql/issues" |
| 102 | + "url": "https://github.com/AlaSQL/alasql/issues" |
100 | 103 | }, |
101 | 104 | "bin": { |
102 | 105 | "alasql": "./bin/alasql-cli.js" |
103 | 106 | }, |
104 | | - "homepage": "https://github.com/agershun/alasql", |
| 107 | + "homepage": "https://github.com/AlaSQL/alasql", |
105 | 108 | "keywords": [ |
106 | 109 | "SQL", |
107 | 110 | "javascript", |
|
111 | 114 | "XLS", |
112 | 115 | "CSV" |
113 | 116 | ], |
114 | | - "license": "MIT", |
115 | 117 | "prettier": { |
116 | | - "useTabs": true, |
117 | 118 | "printWidth": 100, |
| 119 | + "useTabs": true, |
118 | 120 | "singleQuote": true, |
119 | | - "arrowParens": "always", |
120 | | - "bracketSpacing": false, |
121 | | - "trailingComma": "es5" |
122 | | - }, |
123 | | - "husky": { |
124 | | - "hooks": { |
125 | | - "pre-push": "yarn test-format || (echo please format using 'yarn format' && exit 1)" |
126 | | - } |
| 121 | + "bracketSpacing": false |
127 | 122 | } |
128 | 123 | } |
0 commit comments