mirror of
https://github.com/mapbox/expression-jamsession.git
synced 2026-01-18 14:38:51 +00:00
82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
{
|
|
"name": "@mapbox/expression-jamsession",
|
|
"version": "0.5.0",
|
|
"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-list.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": [
|
|
[
|
|
"@babel/preset-env"
|
|
]
|
|
]
|
|
},
|
|
"development": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-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": {
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@mapbox/mapbox-gl-style-spec": "^13.21.0",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
"eslint": "^4.14.0",
|
|
"eslint-plugin-node": "^6.0.1",
|
|
"husky": "^7.0.2",
|
|
"jest": "^27.2.1",
|
|
"lint-staged": "^6.0.0",
|
|
"prettier": "^1.9.2",
|
|
"rollup": "^2.56.3"
|
|
},
|
|
"dependencies": {
|
|
"@jsep-plugin/object": "^1.0.1",
|
|
"jsep": "^1.0.3"
|
|
}
|
|
}
|