forked from SOSML/SOSML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.68 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
{
"name": "@sosml/interpreter",
"version": "1.1.0",
"description": "An interpreter for Standard ML written in TypeScript.",
"files": [
"build/interpreter.min.js",
"build/sosml_cli.js",
"build/*.d.ts"
],
"main": "build/interpreter.min.js",
"types": "build/main.d.ts",
"license": "GPL-3.0",
"scripts": {
"version": "npm run dist && git add -A",
"postversion": "git push && git push --tags",
"citest": "jest --coverage --expand --verbose",
"cilint": "tslint -c tslint.json 'src/**/*.ts'",
"test": "jest --notify --watch",
"build": "npm run version-ts; webpack --env=dev",
"dist": "npm run version-ts; webpack --env=prod",
"cli": "npm run version-ts; webpack --env=cli",
"version-ts": "echo \"export let VERSION = '$npm_package_version';\nexport let BRANCH_NAME = '`git rev-parse --abbrev-ref HEAD`';\nexport let COMMIT_HASH = '`git rev-parse --short HEAD`';\nexport let BUILD_DATE = '`date --utc`';\nexport let COMMIT_MESSAGE = \\``git log --format=%B -n 1 HEAD`\\`;\" > ./src/version.ts;"
},
"author": "SOSML Team",
"repository": {
"type": "git",
"url": "https://github.com/SOSML/SOSML.git"
},
"devDependencies": {
"@types/jest": "^19.2.3",
"@types/node": "^7.0.22",
"jest": "^22.4.3",
"ts-jest": "^22.4.6",
"ts-loader": "^2.1.0",
"tslint": "^5.3.2",
"typescript": "^2.8",
"webpack": "^2.6.0",
"request": "^2.88.0",
"merge": ">=1.2.1"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/test/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}