mirror of
https://github.com/mapbox/expression-jamsession.git
synced 2026-01-25 14:48:22 +00:00
This PR increments the spec dependency, which introduces new expressions. It also blacklists a subset of the new expressions that are not compatible with the jamsession syntax
80 lines
1.8 KiB
JSON
80 lines
1.8 KiB
JSON
{
|
|
"name": "@mapbox/expression-jamsession",
|
|
"version": "0.4.1",
|
|
"description": "Write Mapbox GL expressions in a more familiar, handwritable, spreadsheet-like, programming-like syntax.",
|
|
"main": "dist/index.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"test": "jest --maxWorkers=4",
|
|
"lint": "eslint .",
|
|
"pretest": "npm run lint",
|
|
"precommit": "lint-staged",
|
|
"format": "prettier --write '{,src/**/,test/**/}*.js'",
|
|
"build": "scripts/build-operator-whitelist.js && rm -rf dist && rollup -c",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.js": [
|
|
"eslint",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"clearMocks": true
|
|
},
|
|
"babel": {
|
|
"env": {
|
|
"test": {
|
|
"presets": [
|
|
[
|
|
"env"
|
|
]
|
|
]
|
|
},
|
|
"development": {
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"modules": false
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mapbox/expression-jamsession.git"
|
|
},
|
|
"author": "Mapbox",
|
|
"license": "BSD-2-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/mapbox/expression-jamsession/issues"
|
|
},
|
|
"homepage": "https://github.com/mapbox/expression-jamsession#readme",
|
|
"devDependencies": {
|
|
"@mapbox/mapbox-gl-style-spec": "12.0.0-pre.1",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"eslint": "^4.14.0",
|
|
"eslint-plugin-node": "^6.0.1",
|
|
"husky": "^0.14.3",
|
|
"jest": "^22.0.4",
|
|
"lint-staged": "^6.0.0",
|
|
"prettier": "^1.9.2",
|
|
"rollup": "^0.53.3",
|
|
"rollup-plugin-babel": "^3.0.3"
|
|
},
|
|
"dependencies": {
|
|
"jsep": "^0.3.3"
|
|
}
|
|
}
|