forked from smarr/JsSOM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 2.13 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
{
"name": "jssom",
"displayName": "JsSOM",
"version": "0.2.0",
"description": "A JavaScript implementation of the SOM (Simple Object Machine",
"repository": {
"type": "git",
"url": "https://github.com/SOM-st/JsSOM.git"
},
"author": {
"name": "Stefan Marr",
"email": "git@stefan-marr.de"
},
"license": "MIT",
"devDependencies": {
"chai": "5.1.1",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.31.0",
"mocha": "10.7.3"
},
"scripts": {
"browserify": "mkdir -p build && npm run core-lib && npm run browserify:main && npm run browserify:som-core && npm run browserify:core-lib-loader",
"browserify:main": "cp -r src/. build",
"browserify:som-core": "./libs/jsify-core-lib.py core-lib > build/core-lib-data.js",
"browserify:core-lib-loader": "cp build/lib/core-lib-browser.js build/lib/core-lib.js",
"clean": "rm -Rf build/*.js",
"clobber": "rm -Rf build/",
"core-lib": "git submodule update --init --recursive",
"test": "mocha -t 3000 -u bdd ./tests/som/",
"lint": "eslint src tests",
"deploy-som-st": "npm run browserify && mkdir -p ../som-st.github.io/jssom && cp -r build/. ../som-st.github.io/jssom"
},
"type": "module",
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [ "airbnb-base" ],
"globals": {
"process": "readonly",
"global": "readonly",
"BigInt": "readonly",
"describe": "readonly",
"it": "readonly"
},
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"max-classes-per-file": "off",
"import/prefer-default-export": "off",
"import/extensions": "off",
"import/no-cycle": "off",
"import/named": "off",
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"no-bitwise": "off",
"no-param-reassign": "off",
"class-methods-use-this": "off",
"prefer-destructuring": "off",
"no-continue": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }]
}
}
}